Copyright | [2012] Manuel M T Chakravarty, Gabriele Keller, Trevor L. McDonell |
---|---|
License | BSD3 |
Maintainer | Manuel M T Chakravarty <chak@cse.unsw.edu.au> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell98 |
- rootsOfUnity :: (Elt e, IsFloating e, Shape sh, Slice sh) => Exp (sh :. Int) -> Acc (Array (sh :. Int) (Complex e))
- inverseRootsOfUnity :: (Elt e, IsFloating e, Shape sh, Slice sh) => Exp (sh :. Int) -> Acc (Array (sh :. Int) (Complex e))
Documentation
rootsOfUnity :: (Elt e, IsFloating e, Shape sh, Slice sh) => Exp (sh :. Int) -> Acc (Array (sh :. Int) (Complex e)) Source
Calculate the roots of unity for the forward transform
inverseRootsOfUnity :: (Elt e, IsFloating e, Shape sh, Slice sh) => Exp (sh :. Int) -> Acc (Array (sh :. Int) (Complex e)) Source
Calculate the roots of unity for an inverse transform