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

Data.Array.Repa.Algorithms.DFT.Center

Description

Applying these transforms to the input of a DFT causes the output to be centered so that the zero frequency is in the middle.

Synopsis

Documentation

center1d :: Array DIM1 Complex -> Array DIM1 ComplexSource

Apply the centering transform to a vector.

center2d :: Array DIM2 Complex -> Array DIM2 ComplexSource

Apply the centering transform to a matrix.

center3d :: Array DIM3 Complex -> Array DIM3 ComplexSource

Apply the centering transform to a 3d array.