Click or drag to resize

FloatForward1DFFT Class

FloatForward1DFFT represents the forward discrete fourier transform of a 1D real signal vector.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreFFTBase
    CenterSpace.NMath.CoreFloatForward1DFFT

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class FloatForward1DFFT : FFTBase, 
	ICloneable

The FloatForward1DFFT type exposes the following members.

Constructors
  NameDescription
Public methodFloatForward1DFFT(Int32)
Constructs a forward 1D FFT instance for float real signal vectors.
Public methodFloatForward1DFFT(FFTBase)
Constructs a forward 1D FFT instance by copying the configuration from another FFT instance.
Top
Properties
  NameDescription
Public propertyDimension
Gets the FFT dimension.
(Inherited from FFTBase.)
Public propertyDirection
Gets the direction of the FFT, either forward or backward.
(Inherited from FFTBase.)
Public propertyDomain
Gets the forward domain of signal data; either complex or real.
(Inherited from FFTBase.)
Public propertyForwardScaleFactor
Gets or sets the forward scale factor of the FFT; The default is 1.0
Public propertyLength
Gets the length of the signal data.
(Inherited from FFTBase.)
Public propertyPrecision
Gets the FFT precision; either float or double
(Inherited from FFTBase.)
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this FFT instance.
Public methodCreateInverseFFT
Creates a backward FFT instance of this forward float real 1D FFT.
Public methodFFT(Single)
Computes foward FFT of vin.
Public methodFFT(FloatVector)
Computes the foward FFT of vin.
Public methodFFT(Single, Single)
Computes foward FFT of vin and places the result in vout
Public methodFFT(FloatVector, FloatVector)
Computes the foward FFT of vin and places the result in vout
Public methodFFT(Single, Int32, Single)
Computes the forward FFT of vin and places the result in vout, where vin and vout contain offset signal data, vinoffset, voutoffset, respectively, from the [0] element.
Public methodFFTInPlace(Single) Obsolete.
Computes the forward 1D FFT of each row in arrayinout and returns the complex conjugate symmetric results in-place in a packed format.
Public methodFFTInPlace(Single)
Computes the in-place forward FFT of the signal vinout.
Public methodFFTInPlace(FloatVector)
Computes the in-place forward FFT of the signal vinout.
Public methodFFTInPlace(Single, Int32)
Computes the in-place forward FFT of the signal vinout.
Public methodFFTInPlaceArray
Computes the forward 1D FFT of each row in arrayinout and returns the complex conjugate symmetric results in-place.
Public methodGetSignalReader(Single) Obsolete.
Generates the appropriate reader to unpack the packed complex conjugate symmetric FFT's computed by this class.
Public methodGetSignalReader(Single)
Generates the appropriate reader to unpack the packed complex conjugate symmetric FFT's computed by this class.
Public methodGetSignalReader(FloatVector)
Generates the appropriate reader to unpack the packed complex conjugate symmetric FFT's computed by this class.
Public methodGetSignalReaderForArray
Generates the appropriate reader to unpack the packed complex conjugate symmetric FFT's computed by this class.
Public methodToString
Returns a String containing a summary of this FFT type.
(Inherited from FFTBase.)
Top
Fields
  NameDescription
Protected fieldipconfig_
In-place FFT configuration.
(Inherited from FFTBase.)
Protected fieldofpconfig_
Out-of-place FFT configuration.
(Inherited from FFTBase.)
Top
Remarks
The forward FFT is defined to have a negative exponent in the transform with a default scale factor of 1.0. To gain greater efficiency in transforming sets of same-length signals, first arrange signals row-by-row in an array, and then use the
FFTInPlace(float[,] arrayinout)
method.
Examples
This example computes a signal of length 555 and places the complex complex result in the
unpackedsignal
vector.
FloatForward1DFFT fft = new FloatForward1DFFT( 555 );
fft.FFTInPlace( x );
FloatSymmetricSignalReader reader = fft.GetSignalReader( x );
FloatComplex[] unpackedsignal = reader.UnpackFullToArray();
See Also