ILNumerics Ultimate VS

ILMathfft2 Method (InArrayDouble)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Fast 2D discrete fourier transform.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: (5.5.7503.3146)

public static RetArray<complex> fft2(
	InArray<double> A


Type: ILNumericsInArrayDouble
Real input array.

Return Value

Type: RetArraycomplex
Complex array with transformation result.

The 2D transformation is computed for the first 2 dimensions, regardless of those dimensions being singleton or non-singleton dimensions. If A is an n-d array, the transformation is repeated for trailing dimensions of A respectively.

The output array returned will be complex hermitian.

The two dimensional transformation is equivalent to repeatedly transforming the columns and after that transforming the rows of A. However, using this function may be of magnitudes faster than using 1D transformations. This depends on the algorithm and API provided by the underlying native library.

The forward fourier transform and the inverse fourier transform of a given data array A are mathematically equivalent. It's only a scaling factor which is needed to make sure, A equals ifft(fft(A)). That scaling is introduced in the inverse transform.

The transformation is computed by use of the native library which currently is set up for your processor and OS version. The underlying library is automatically selected at ILNumerics startup and accessible via the static member ILMath.FFT. See the online documentation for more details on how to tune/configure and select dedicated native libraries.

[ILNumerics Computing Engine]

See Also