Click or drag to resize
DigitalRuneFastFourierTransformDTransform1D Method (Vector2D, Boolean)
Performs a Fast Fourier Transform in 1 dimension 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(
	Vector2D[] values,
	bool forward
)

Parameters

values
Type: DigitalRune.Mathematics.AlgebraVector2D
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, ...).
forward
Type: SystemBoolean
to perform forward FFT, to perform inverse FFT.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalues is .
ArgumentException The length of values is not a power of two.
See Also