You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > IFFT2D Method > TMtx.IFFT2D Method (boolean)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.IFFT2D Method (boolean)

Inverse two-dimensional Fast Fourier Transformation from complex to complex.

Pascal
function IFFT2D(NoScale: boolean = False): TMtx; overload;

Transformation is applied in-place. Source matrix must be complex. If source matrix is real, an exception will be raised. result matrix will be complex. Size of the calling matrix is not changed. NoScale parameter allows the scaling to be turned off.

var a: TMtx; begin CreateIt(a); try a.SetIt (2,4,False, [1, 2, 3, 4, -5, 6,-7, 8] ); a.ExtendToComplex; a.IFFT2D; // result will be [(1.5, 0), (0, -0.5), (-3.5, 0), (0, 0.5), (1, 0), (-0.5, 0), (3, 0), (-0.5, 0) ] finally FreeIt(a); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!