accelerate-fourier-1.0.0.5: Fast Fourier transform and convolution using the Accelerate framework

Safe HaskellNone
LanguageHaskell98

Data.Array.Accelerate.Convolution.Adhoc

Synopsis

Documentation

type Transform2 sh a = Acc (Array sh a) -> Acc (Array sh a) -> Acc (Array sh a) Source #

karatsuba :: (Shape sh, Slice sh, Num a) => Transform2 (sh :. Int) a Source #

Both arrays must have the same size.

cyclic :: (Shape sh, Slice sh, Num a) => Transform2 (sh :. Int) a -> Transform2 (sh :. Int) a Source #

Turn an ordinary convolution into a cyclic convolution of the same length.

complex :: (Shape sh, Slice sh, Num a) => Transform2 (sh :. Int) a -> Transform2 (sh :. Int) (Complex a) Source #

Turn a real-valued convolution into a complex-valued convolution. Can be removed when we get instance IsNum (Complex a).