ManagedFft2DOfSingle.ForwardTransform Method

Definition

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

Overload List

ForwardTransform(Matrix<T>) Computes the discrete Fourier transform of a real signal and returns the result.
ForwardTransform(Matrix<Complex<T>>) Computes the discrete Fourier transform of a complex signal and returns the result.
ForwardTransform(Array2D<Complex<Single>>, Array2D<Complex<Single>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(Array2D<Single>, Array2D<Complex<Single>>) Computes the discrete Fourier transform of a real signal.
ForwardTransform(DenseMatrix<T>, ComplexConjugateSignalMatrix<T>) Computes the discrete Fourier transform of a real signal.
ForwardTransform(DenseMatrix<Complex<T>>, DenseMatrix<Complex<T>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(Matrix<T>, Matrix<Complex<T>>) Computes the discrete Fourier transform of a real signal.
ForwardTransform(Matrix<Complex<T>>, Matrix<Complex<T>>) Computes the discrete Fourier transform of a complex signal.
ForwardTransform(Matrix<T>, Matrix<Complex<T>>, RealFftFormat) Computes the discrete Fourier transform of a real signal.

ForwardTransform(Array2D<Complex<Single>>, Array2D<Complex<Single>>)

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

Parameters

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

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

Parameters

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

Exceptions

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

-or-

output is null.

See Also