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

Safe HaskellNone

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 :: Repr r Complex => Array r DIM1 Complex -> Array D DIM1 ComplexSource

Apply the centering transform to a vector.

center2d :: Repr r Complex => Array r DIM2 Complex -> Array D DIM2 ComplexSource

Apply the centering transform to a matrix.

center3d :: Repr r Complex => Array r DIM3 Complex -> Array D DIM3 ComplexSource

Apply the centering transform to a 3d array.