RealFourierTransform Type

Common interface for real valued fourier transformations of any length. Depending of the length, which must be given at creation time and can not be changed afterwards, the fastes transformation method is used. The neccessary temporary data is being held in this class, so that repeated transformations will not create more temporary storage than neccessary.

Constructors

Constructor Description

RealFourierTransform(length)

Full Usage: RealFourierTransform(length)

Parameters:
    length : int

length : int

Instance members

Instance member Description

this.Transform

Full Usage: this.Transform

Parameters:
    inputarr : float[] - The data to transform.
    direction : FourierDirection - Specify forward or reverse transformation here.
    outputarr : float[] - . On output, contains the fourier transformed data.

Performs a out-of-place fourier transformation. The original values are kept.

inputarr : float[]

The data to transform.

direction : FourierDirection

Specify forward or reverse transformation here.

outputarr : float[]

. On output, contains the fourier transformed data.

this.Transform

Full Usage: this.Transform

Parameters:
    arr : float[] - The data to transform. On output, the fourier transformed data.
    direction : FourierDirection - Specify forward or reverse transformation here.

Performs a inplace fourier transformation. The original values are overwritten by the fourier transformed values.

arr : float[]

The data to transform. On output, the fourier transformed data.

direction : FourierDirection

Specify forward or reverse transformation here.