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.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void FFT(
	double[] vin,
	int vinoffset,
	ref double[] vout
)
Visual Basic (Declaration)
Public Sub FFT ( _
	vin As Double(), _
	vinoffset As Integer, _
	ByRef vout As Double() _
)
Visual C++
public:
void FFT(
	array<double>^ vin, 
	int vinoffset, 
	array<double>^% vout
)

Parameters

vin
Type: array< System..::.Double >[]()[]
The input signal data.
vinoffset
Type: System..::.Int32
Offset to the start of the signal data.
vout
Type: array< System..::.Double >[]()[] %
The FFT of vin.

Remarks

For example, if vinoffset = 2, the FFT will start computing with the vin[2] data element of vin, and end at vin[2+Length-1]..

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeException Thrown when the signal data is shorter than this DoubleForward1DFFT instance.
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if the output array, vout is not large enough to contain the resultant FFT.

See Also