repa-algorithms-2.0.0.1: Algorithms using the Repa array library.

Data.Array.Repa.Algorithms.DFT.Roots

Description

Calculation of roots of unity for the forward and inverse DFT/FFT.

Synopsis

Documentation

calcRootsOfUnitySource

Arguments

:: forall sh . Shape sh 
=> (sh :. Int)

Length of lowest dimension of result.

-> Array (sh :. Int) Complex 

Calculate roots of unity for the forward transform.

calcInverseRootsOfUnitySource

Arguments

:: forall sh . Shape sh 
=> (sh :. Int)

Length of lowest dimension of result.

-> Array (sh :. Int) Complex 

Calculate roots of unity for the inverse transform.