C# Class LitDev.LDMathX

Show file Open project: litdev1/LitDev

Public Methods

Method Description
FFTComplex ( Primitive real, Primitive imaginary ) : Primitive

Create an array of complex values from arrays of real and imaginary parts.

FFTForward ( Primitive real ) : Primitive

Compute a FFT (Fast Fourier Transform).

FFTImaginary ( Primitive complex ) : Primitive

Get the imaginary part of an array of complex data.

FFTInverse ( Primitive complex ) : Primitive

The inverse of a FFT (Fast Fourier Transform).

FFTReal ( Primitive complex ) : Primitive

Get the real part of an array of complex data.

Method Details

FFTComplex() public static method

Create an array of complex values from arrays of real and imaginary parts.
public static FFTComplex ( Primitive real, Primitive imaginary ) : Primitive
real Primitive An array of real data.
imaginary Primitive An array of imaginary data.
return Primitive

FFTForward() public static method

Compute a FFT (Fast Fourier Transform).
public static FFTForward ( Primitive real ) : Primitive
real Primitive An array of real values to calculate the FFT from.
return Primitive

FFTImaginary() public static method

Get the imaginary part of an array of complex data.
public static FFTImaginary ( Primitive complex ) : Primitive
complex Primitive An array of complex data (real amplitude and imaginary phase). /// For each complex pair the index is the real part and the value is the imaginary part.
return Primitive

FFTInverse() public static method

The inverse of a FFT (Fast Fourier Transform).
public static FFTInverse ( Primitive complex ) : Primitive
complex Primitive An array of complex data (real amplitude and imaginary phase). /// For each complex pair the index is the real part and the value is the imaginary part.
return Primitive

FFTReal() public static method

Get the real part of an array of complex data.
public static FFTReal ( Primitive complex ) : Primitive
complex Primitive An array of complex data (real amplitude and imaginary phase). /// For each complex pair the index is the real part and the value is the imaginary part.
return Primitive