Fft2D<T>.BackwardTransform Method

Definition

Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

BackwardTransform(ComplexConjugateSignalMatrix<T>) Computes the discrete Fourier transform of a real signal and returns the result.
BackwardTransform(Matrix<Complex<T>>) Computes the discrete Fourier transform of a complex signal and returns the result..
BackwardTransform(ComplexConjugateSignalMatrix<T>, DenseMatrix<T>) Computes the discrete Fourier transform of a real signal.
BackwardTransform(DenseMatrix<Complex<T>>, DenseMatrix<Complex<T>>) Computes the discrete Fourier transform of a complex signal.
BackwardTransform(Matrix<Complex<T>>, Matrix<T>) Computes the discrete Fourier transform of a real signal.
BackwardTransform(Matrix<Complex<T>>, Matrix<Complex<T>>) Computes the discrete Fourier transform of a complex signal.
BackwardTransform(ReadOnlySpan2D<Complex<T>>, Span2D<T>) 
BackwardTransform(ReadOnlySpan2D<Complex<T>>, Span2D<Complex<T>>) 
BackwardTransform(Matrix<Complex<T>>, Matrix<T>, RealFftFormat) Computes the inverse discrete Fourier transform of a real signal.
BackwardTransform(ReadOnlySpan<Complex<T>>, Int32, Span<T>, Int32) Computes the discrete Fourier transform of a real signal.
BackwardTransform(ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32) Computes the discrete Fourier transform of a complex signal.
BackwardTransform<TStorage2D>(TStorage2D, TStorage2D) Computes the discrete Fourier transform of a complex signal.
BackwardTransform<TStorage2D, TComplexStorage2D>(TComplexStorage2D, TStorage2D) Computes the discrete Fourier transform of a real signal.

BackwardTransform(ComplexConjugateSignalMatrix<T>)

Computes the discrete Fourier transform of a real signal and returns the result.
C#
public DenseMatrix<T> BackwardTransform(
	ComplexConjugateSignalMatrix<T> input
)

Parameters

input  ComplexConjugateSignalMatrix<T>
A ComplexConjugateSignalMatrix<T> matrix to hold the transformed signal.

Return Value

DenseMatrix<T>

BackwardTransform(Matrix<Complex<T>>)

Computes the discrete Fourier transform of a complex signal and returns the result..
C#
public DenseMatrix<Complex<T>> BackwardTransform(
	Matrix<Complex<T>> input
)

Parameters

input  Matrix<Complex<T>>
A complex matrix containing the input signal.

Return Value

DenseMatrix<Complex<T>>
A complex dense matrix containing the transformed signal.

BackwardTransform<TStorage2D>(TStorage2D, TStorage2D)

Computes the discrete Fourier transform of a complex signal.
C#
public void BackwardTransform<TStorage2D>(
	TStorage2D input,
	TStorage2D output
)
where TStorage2D : Object, IStorage2D<Complex<T>>

Parameters

input  TStorage2D
A complex 2D array containing the input signal.
output  TStorage2D
A complex 2D array to hold the transformed signal.

Type Parameters

TStorage2D

Exceptions

InvalidOperationException

The Fourier transform implementation is not configured to accept real input.

ArgumentNullException

input is null.

-or-

output is null.

DimensionMismatchException

The length of input does not equal the length of output.

BackwardTransform<TStorage2D, TComplexStorage2D>(TComplexStorage2D, TStorage2D)

Computes the discrete Fourier transform of a real signal.
C#
public void BackwardTransform<TStorage2D, TComplexStorage2D>(
	TComplexStorage2D input,
	TStorage2D output
)
where TStorage2D : Object, IStorage2D<T>
where TComplexStorage2D : Object, IStorage2D<Complex<T>>

Parameters

input  TComplexStorage2D
A complex 2D array to hold the transformed signal.
output  TStorage2D
A real 2D array containing the input signal.

Type Parameters

TStorage2D
TComplexStorage2D

Exceptions

ArgumentNullException

input is null.

-or-

output is null.

DimensionMismatchException

The length of input does not equal the length of output.

BackwardTransform(ComplexConjugateSignalMatrix<T>, DenseMatrix<T>)

Computes the discrete Fourier transform of a real signal.
C#
public void BackwardTransform(
	ComplexConjugateSignalMatrix<T> input,
	DenseMatrix<T> output
)

Parameters

input  ComplexConjugateSignalMatrix<T>
A complex dense matrix to hold the transformed signal.
output  DenseMatrix<T>
A Double matrix containing the input signal.

Exceptions

ArgumentNullException

input is null.

-or-

output is null.

DimensionMismatchException

The length of input does not equal the length of output.

BackwardTransform(DenseMatrix<Complex<T>>, DenseMatrix<Complex<T>>)

Computes the discrete Fourier transform of a complex signal.
C#
public void BackwardTransform(
	DenseMatrix<Complex<T>> input,
	DenseMatrix<Complex<T>> output
)

Parameters

input  DenseMatrix<Complex<T>>
A complex dense matrix containing the input signal.
output  DenseMatrix<Complex<T>>
A complex dense matrix to hold the transformed signal.

Exceptions

InvalidOperationException

The Fourier transform implementation is not configured to accept real input.

ArgumentNullException

input is null.

-or-

output is null.

DimensionMismatchException

The length of input does not equal the length of output.

BackwardTransform(Matrix<Complex<T>>, Matrix<T>)

Computes the discrete Fourier transform of a real signal.
C#
public void BackwardTransform(
	Matrix<Complex<T>> input,
	Matrix<T> output
)

Parameters

input  Matrix<Complex<T>>
A complex matrix to hold the transformed signal.
output  Matrix<T>
A Double matrix containing the input signal.

Exceptions

InvalidOperationException

The Fourier transform implementation is not configured to accept real input.

ArgumentNullException

input is null.

-or-

output is null.

BackwardTransform(Matrix<Complex<T>>, Matrix<Complex<T>>)

Computes the discrete Fourier transform of a complex signal.
C#
public void BackwardTransform(
	Matrix<Complex<T>> input,
	Matrix<Complex<T>> output
)

Parameters

input  Matrix<Complex<T>>
A complex matrix containing the input signal.
output  Matrix<Complex<T>>
A complex matrix to hold the transformed signal.

BackwardTransform(ReadOnlySpan2D<Complex<T>>, Span2D<T>)

C#
public void BackwardTransform(
	ReadOnlySpan2D<Complex<T>> input,
	Span2D<T> output
)

Parameters

input  ReadOnlySpan2D<Complex<T>>
 
output  Span2D<T>
 

BackwardTransform(ReadOnlySpan2D<Complex<T>>, Span2D<Complex<T>>)

C#
public void BackwardTransform(
	ReadOnlySpan2D<Complex<T>> input,
	Span2D<Complex<T>> output
)

Parameters

input  ReadOnlySpan2D<Complex<T>>
 
output  Span2D<Complex<T>>
 

BackwardTransform(Matrix<Complex<T>>, Matrix<T>, RealFftFormat)

Computes the inverse discrete Fourier transform of a real signal.
C#
public void BackwardTransform(
	Matrix<Complex<T>> input,
	Matrix<T> output,
	RealFftFormat outputFormat
)

Parameters

input  Matrix<Complex<T>>
A complex matrix containing the transformed signal.
output  Matrix<T>
A Double matrix to hold the restored real signal.
outputFormat  RealFftFormat
A RealFftFormat value that specifies whether to return a one-sided or a two-sided transform.

Remarks

Use this method to compute the inverse Fourier transform of a real signal. The outputFormat specifies whether the input contains the full complex transform (TwoSided), or only the first n/2+1 terms of the transformed signal (OneSided), where n is the length of the transform.

Exceptions

InvalidOperationException

The Fourier transform implementation is not configured to accept real input.

ArgumentNullException

input is null.

-or-

output is null.

ArgumentOutOfRangeException

outputFormat is not a valid RealFftFormat value.

DimensionMismatchException

outputFormat equals OneSided and the length of input does not equal half the length of output plus one.

-or-

outputFormat equals TwoSided and the length of input does not equal the length of output.

BackwardTransform(ReadOnlySpan<Complex<T>>, Int32, Span<T>, Int32)

Computes the discrete Fourier transform of a real signal.
C#
public abstract void BackwardTransform(
	ReadOnlySpan<Complex<T>> input,
	int inputLeadingDimension,
	Span<T> output,
	int outputLeadingDimension
)

Parameters

input  ReadOnlySpan<Complex<T>>
A span containing a complex 2D array to hold the transformed signal.
inputLeadingDimension  Int32
The number of elements between the start of successive columns in input.
output  Span<T>
A span containing a real 2D array containing the input signal.
outputLeadingDimension  Int32
The number of elements between the start of successive columns in output.

BackwardTransform(ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32)

Computes the discrete Fourier transform of a complex signal.
C#
public abstract void BackwardTransform(
	ReadOnlySpan<Complex<T>> input,
	int inputLeadingDimension,
	Span<Complex<T>> output,
	int outputLeadingDimension
)

Parameters

input  ReadOnlySpan<Complex<T>>
A span containing a complex 2D array containing the input signal.
inputLeadingDimension  Int32
The number of elements between the start of successive columns in input.
output  Span<Complex<T>>
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.

Exceptions

InvalidOperationException

The Fourier transform implementation is not configured to accept real input.

See Also