Managed Fft 2D.Forward Transform Method
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
ForwardTransform(ReadOnlySpan<Complex<Double>>, Int32, Span<Complex<Double>>, Int32)
Computes the discrete Fourier transform of a real signal.
public override void ForwardTransform(
ReadOnlySpan<Complex<double>> input,
int inputLeadingDimension,
Span<Complex<double>> output,
int outputLeadingDimension
)
Parameters
- input ReadOnlySpan<Complex<Double>>
- A span containing a real 2D array containing the input signal.
- inputLeadingDimension Int32
- The number of elements between the start of successive columns in input.
- output Span<Complex<Double>>
- A span containing a complex 2D array to hold the transformed signal.
- outputLeadingDimension Int32
- The number of elements between the start of successive columns in output.
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.
Exceptions
Invalid | The Fourier transform implementation is not configured to accept real input. |
ForwardTransform(ReadOnlySpan<Double>, Int32, Span<Complex<Double>>, Int32)
Computes the discrete Fourier transform of a real signal.
public override void ForwardTransform(
ReadOnlySpan<double> input,
int inputLeadingDimension,
Span<Complex<double>> output,
int outputLeadingDimension
)
Parameters
- input ReadOnlySpan<Double>
- A span containing a real 2D array containing the input signal.
- inputLeadingDimension Int32
- The number of elements between the start of successive columns in input.
- output Span<Complex<Double>>
- A span containing a complex 2D array to hold the transformed signal.
- outputLeadingDimension Int32
- The number of elements between the start of successive columns in output.
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.
Exceptions
Invalid | The Fourier transform implementation is not configured to accept real input. |