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

Safe HaskellNone
LanguageHaskell98

Data.Array.Accelerate.Convolution.Preprocessed

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) => Int -> Transform2 (sh :. Int) a Source #

Both arrays must have the same size.

There is not much to preprocess, thus you should prefer karatsuba.