Click or drag to resize

DoubleForward1DFFT Class

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

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

The DoubleForward1DFFT type exposes the following members.

Constructors
  NameDescription
Public methodDoubleForward1DFFT(Int32)
Constructs a forward 1D FFT instance for double real signal vectors.
Public methodDoubleForward1DFFT(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 double real 1D FFT.
Public methodFFT(Double)
Computes foward FFT of vin.
Public methodFFT(DoubleVector)
Computes the foward FFT of vin.
Public methodFFT(Double, Double)
Computes foward FFT of vin and places the result in vout
Public methodFFT(DoubleVector, DoubleVector)
Computes the foward FFT of vin and places the result in vout
Public methodFFT(Double, Int32, Double)
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(Double) 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(Double)
Computes the in-place forward FFT of the signal vinout.
Public methodFFTInPlace(DoubleVector)
Computes the in-place forward FFT of the signal vinout.
Public methodFFTInPlace(Double, 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 in a packed format.
Public methodGetSignalReader(Double) Obsolete.
Generates the appropriate reader to unpack the packed complex conjugate symmetric FFT's computed by this class.
Public methodGetSignalReader(Double)
Generates the appropriate reader to unpack the packed complex conjugate symmetric FFT's computed by this class.
Public methodGetSignalReader(DoubleVector)
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(double[,] arrayinout)
method.
Examples
This example computes a length 555 signal and places the complex complex result in the
unpackedsignal
vector.
DoubleForward1DFFT fft = new DoubleForward1DFFT( 555 );
fft.FFTInPlace( x );
DoubleSymmetricSignalReader reader = fft.GetSignalReader( x );
FloatComplex[] unpackedsignal = reader.UnpackFullToArray();
See Also