C# Class YAMP.Numerics.Fourier

A more advanced FFT that is a lot more general.
Mostra file Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
Fourier ( int size ) : System

Initializes a new instance of the Fourier transformer.

Fourier ( int size, FourierSign signConvention, FourierNormalization normalizationConvention ) : System

Initializes a new instance of the Fourier transformer with the given sign and normalization conventions.

InverseTransform ( IList values ) : ScalarValue[]

Computes the inverse Fourier transform of the given series.

Transform ( IList values ) : ScalarValue[]

Computes the Fourier transform of the given series.

Private Methods

Method Description
FactorByPollardsRhoMethod ( List factors, int &n ) : void
FactorByTrialDivision ( List factors, int &n ) : void
Factors ( int n ) : List
GetSign ( ) : int
Normalize ( ScalarValue x, double f ) : void
Transform ( ScalarValue &x, ScalarValue &y, int sign ) : void

Method Details

Fourier() public method

Initializes a new instance of the Fourier transformer.
public Fourier ( int size ) : System
size int The series length of the transformer, which must be positive.
return System

Fourier() public method

Initializes a new instance of the Fourier transformer with the given sign and normalization conventions.
public Fourier ( int size, FourierSign signConvention, FourierNormalization normalizationConvention ) : System
size int The series length of the transformer, which must be positive.
signConvention FourierSign The sign convention of the transformer.
normalizationConvention FourierNormalization The normalization convention of the transformer.
return System

InverseTransform() public method

Computes the inverse Fourier transform of the given series.
public InverseTransform ( IList values ) : ScalarValue[]
values IList The series to invert.
return ScalarValue[]

Transform() public method

Computes the Fourier transform of the given series.
public Transform ( IList values ) : ScalarValue[]
values IList The series to transform.
return ScalarValue[]