Click or drag to resize

DoubleComplexForward1DFFTFFT(DoubleComplex, Int32, DoubleComplex, Int32) Method

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: 7.4
Syntax
public void FFT(
	DoubleComplex[] vin,
	int vinoffset,
	ref DoubleComplex[] vout,
	int voutoffset
)

Parameters

vin  DoubleComplex
The input signal data.
vinoffset  Int32
Offset to the start of the signal data.
vout  DoubleComplex
The FFT of vin.
voutoffset  Int32
Offset to the start of the FFT result.
Exceptions
ExceptionCondition
MismatchedSizeException Thrown when the signal data is shorter than this DoubleComplexForward1DFFT instance.
InvalidArgumentException Thrown if the output array, vout is not large enough to contain the resultant FFT.
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]..
See Also