MtxExpr.FFT2D Method

function FFT2D(const X: TMtx): Matrix;

Returns the 2D discrete fourier transform of the source data.

#NameTypeDescription
1XTMtx

Returns: Matrix

Remarks:

Internally calls Matrix.FFT2D

Examples
var a,b: TMtx;
begin
    CreateIt(a,b);
    try
        a.SetIt(2,4,False,
            [1, 2, 3, 4,
            -5, 6,-7, 8]);

        b.FFT2D(a);
        // result will be
        [(12,0), ( 0,4),  (-28,0), (0,-4),
            ( 8,0), (-4,0),  ( 24,0), (-4,0)]

    finally
        FreeIt(a,b);
    end;
end;