Managed Fft Of Single.Forward Transform Method
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.3
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.3
Overload List
ForwardTransform(ReadOnlySpan<Complex<Single>>, Int32, Span<Complex<Single>>, Int32)
Computes the discrete Fourier transform of a complex signal.
public override void ForwardTransform(
ReadOnlySpan<Complex<float>> input,
int inputStride,
Span<Complex<float>> output,
int outputStride
)
Parameters
Exceptions
Invalid | The Fourier transform implementation is not configured
to accept complex input.
-or- input and output are the same, but the Fourier transform implementation is not configured to handle in-place transforms. |
Argument | input is null.
-or- output is null. |
ForwardTransform(ReadOnlySpan<Single>, Int32, Span<Complex<Single>>, Int32)
Computes the discrete Fourier transform of a real signal.
public override void ForwardTransform(
ReadOnlySpan<float> input,
int inputStride,
Span<Complex<float>> output,
int outputStride
)
Parameters
Remarks
The output is stored in a compact format to take advantage of the symmetry properties of a real Fourier transform. Specifically, output contains only the first n/2+1 terms of the transformed signal. Use the ComplexConjugateSignalVector<T> class to obtain a complex vector that represents the complete signal.
Exceptions
Invalid | The Fourier transform implementation is not configured to accept real input. |
Argument | input is null.
-or- output is null. |