| FastFourierTransformDTransform1D Method (Vector2D, Int32, Boolean) |
Performs a Fast Fourier Transform using the Radix-2 Cooley-Tukey algorithm.
Namespace: DigitalRune.Mathematics.AnalysisAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static void Transform1D(
Vector2D[] values,
int numberOfValues,
bool forward
)
Public Shared Sub Transform1D (
values As Vector2D(),
numberOfValues As Integer,
forward As Boolean
)
public:
static void Transform1D(
array<Vector2D>^ values,
int numberOfValues,
bool forward
)
static member Transform1D :
values : Vector2D[] *
numberOfValues : int *
forward : bool -> unit
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, ...).
- 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 See Also