C# Class Accord.Math.FourierTransform

Fourier transformation.
The class implements one dimensional and two dimensional Discrete and Fast Fourier Transformation.
Datei anzeigen Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
DFT ( Complex data, Direction direction ) : void

One dimensional Discrete Fourier Transform.

DFT2 ( Complex data, Direction direction ) : void

Two dimensional Discrete Fourier Transform.

FFT ( Complex data, Direction direction ) : void

One dimensional Fast Fourier Transform.

The method accepts data array of 2n size only, where n may vary in the [1, 14] range.

FFT2 ( Complex data, Direction direction ) : void

Two dimensional Fast Fourier Transform.

The method accepts data array of 2n size only in each dimension, where n may vary in the [1, 14] range. For example, 16x16 array is valid, but 15x15 is not.

Private Methods

Method Description
GetComplexRotation ( int numberOfBits, Direction direction ) : Complex[]
GetReversedBits ( int numberOfBits ) : int[]
ReorderData ( Complex data ) : void

Method Details

DFT() public static method

One dimensional Discrete Fourier Transform.
public static DFT ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
return void

DFT2() public static method

Two dimensional Discrete Fourier Transform.
public static DFT2 ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
return void

FFT() public static method

One dimensional Fast Fourier Transform.

The method accepts data array of 2n size only, where n may vary in the [1, 14] range.

Incorrect data length.
public static FFT ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
return void

FFT2() public static method

Two dimensional Fast Fourier Transform.

The method accepts data array of 2n size only in each dimension, where n may vary in the [1, 14] range. For example, 16x16 array is valid, but 15x15 is not.

Incorrect data length.
public static FFT2 ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
return void