accelerate-fft-1.2.0.0: FFT using the Accelerate library

Copyright[2012..2017] Manuel M T Chakravarty Gabriele Keller Trevor L. McDonell
[2013..2017] Robert Clifton-Everest
LicenseBSD3
MaintainerTrevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell98

Data.Array.Accelerate.Math.DFT.Roots

Description

 
Synopsis

Documentation

rootsOfUnity :: (Shape sh, Slice sh, Elt (Complex e), Floating e, FromIntegral Int e) => Exp (sh :. Int) -> Acc (Array (sh :. Int) (Complex e)) Source #

Calculate the roots of unity for the forward transform

inverseRootsOfUnity :: (Shape sh, Slice sh, Elt (Complex e), Floating e, FromIntegral Int e) => Exp (sh :. Int) -> Acc (Array (sh :. Int) (Complex e)) Source #

Calculate the roots of unity for an inverse transform