ManagedFft2D.ForwardTransform Method

Definition

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

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

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

Parameters

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

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

Parameters

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

Exceptions

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

-or-

output is null.

See Also