ManagedFft.ForwardTransform Method

Definition

Namespace: Extreme.Mathematics.SignalProcessing
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ForwardTransform(Vector<T>) Computes the discrete Fourier transform of a real signal and returns the result.
ForwardTransform(Vector<Complex<T>>) Computes the discrete Fourier transform of a complex signal and returns the result.
ForwardTransform(ArraySlice<Complex<Double>>, ArraySlice<Complex<Double>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(ArraySlice<Double>, ArraySlice<Complex<Double>>) Computes the discrete Fourier transform of a real signal.
ForwardTransform(DenseVector<T>, ComplexConjugateSignalVector<T>) Computes the discrete Fourier transform of a real signal.
ForwardTransform(DenseVector<Complex<T>>, DenseVector<Complex<T>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(Vector<T>, Vector<Complex<T>>) Computes the discrete Fourier transform of a real signal.
ForwardTransform(Vector<Complex<T>>, Vector<Complex<T>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(Vector<T>, Vector<Complex<T>>, RealFftFormat) Computes the discrete Fourier transform of a real signal.

ForwardTransform(ArraySlice<Complex<Double>>, ArraySlice<Complex<Double>>)

Computes the discrete Fourier transform of a complex signal.
C#
public override void ForwardTransform(
	ArraySlice<Complex<double>> input,
	ArraySlice<Complex<double>> output
)

Parameters

input  ArraySlice<Complex<Double>>
A complex number array containing the input signal.
output  ArraySlice<Complex<Double>>
A complex number array to hold the transformed signal.

Exceptions

InvalidOperationExceptionThe 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.

ArgumentNullExceptioninput is null.

-or-

output is null.

ForwardTransform(ArraySlice<Double>, ArraySlice<Complex<Double>>)

Computes the discrete Fourier transform of a real signal.
C#
public override void ForwardTransform(
	ArraySlice<double> input,
	ArraySlice<Complex<double>> output
)

Parameters

input  ArraySlice<Double>
A Double array containing the input signal.
output  ArraySlice<Complex<Double>>
A complex number array to hold the transformed signal.

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

InvalidOperationExceptionThe Fourier transform implementation is not configured to accept real input.
ArgumentNullExceptioninput is null.

-or-

output is null.

See Also