Click or drag to resize
DigitalRuneFastFourierTransformFTransform1D Method (Vector2F, Int32, Boolean)
Performs a Fast Fourier Transform using the Radix-2 Cooley-Tukey algorithm.

Namespace: DigitalRune.Mathematics.Analysis
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static void Transform1D(
	Vector2F[] values,
	int numberOfValues,
	bool forward
)

Parameters

values
Type: DigitalRune.Mathematics.AlgebraVector2F
The values which are replaced in-place by the FFT result. Each element represents a complex number with the real part in x and the imaginary part in y. The number of values must be a power of two (e.g. 2, 4, 8, 16, ...).
numberOfValues
Type: SystemInt32
The number of values. The array values can be longer. Only the elements from 0 to numberOfValues - 1 are transformed.
forward
Type: SystemBoolean
to perform forward FFT, to perform inverse FFT.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalues is .
ArgumentExceptionnumberOfValues is not a power of two.
See Also