ManagedFftOfSingle.ForwardTransform Method

Definition

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

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<Single>>, ArraySlice<Complex<Single>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(ArraySlice<Single>, ArraySlice<Complex<Single>>) 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<Single>>, ArraySlice<Complex<Single>>)

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

Parameters

input  ArraySlice<Complex<Single>>
A complex number array containing the input signal.
output  ArraySlice<Complex<Single>>
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<Single>, ArraySlice<Complex<Single>>)

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

Parameters

input  ArraySlice<Single>
A Single array containing the input signal.
output  ArraySlice<Complex<Single>>
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