Vector.InverseFourierTransform<T> Method

Returns the inverse Fourier transform of a vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static DenseVector<T> InverseFourierTransform<T>(
	Vector<Complex<T>> vector
)

Parameters

vector  Vector<Complex<T>>
A complex vector.

Type Parameters

T

Return Value

DenseVector<T>
A dense vector containing the inverse Fourier transform of vector.

Remarks

This method returns the real part of the inverse transform. If the length of vector is odd, then only the first half of vector is used in the calculation.

The Fourier transform of a real vector has a certain symmetry: it is equal to the conjugate of the same vector with its elements in reverse order. If vector does not have this symmetry, then the inverse transform has a nonzero imaginary part, and this method will return a wrong or incomplete result. Use the InverseComplexFourierTransform<T>(Vector<Complex<T>>) to obtain the full, complex inverse Fourier transform of a complex vector.

Exceptions

ArgumentNullException

vector is null.

See Also