Dew MtxVec NET
TMtx.FFT2D Methods
Summary
Forward two-dimentional Fast Fourier Transformation from real/complex to complex.

Class
TMtx

Declaration
Function FFT2D: TMtx;

Description
The transformation is applied in-place. The source matrix may be real or complex. The result will be always complex. The size of the calling matrix is not changed. (rows and cols will not chage).
 See Also 
FFT2DFromReal 
IFFT2D 
IFFT2DFromReal 

Example 1

var a: TMtx; begin CreateIt(a); try a.SetIt(2,4,False, [1, 2, 3, 4, -5, 6,-7, 8]); a.FFT2D; // result will be [(12,0), ( 0,4), (-28,0), (0,-4), ( 8,0), (-4,0), ( 24,0), (-4,0)] finally FreeIt(a); end; end;


Declaration
Function FFT2D(Mtx: TMtx): TMtx;

Description
The transformation is applied on data in Mtx matrix and results are saved in the calling matrix. The source matrix may be real or complex. The source matrix is not changed. The calling matrix will be complex and will be of the same size as the source matrix. (rows and cols will not chage).
 See Also 
FFT2DFromReal 
IFFT2D 
IFFT2DFromReal 

Example 1

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;

Copyright 2008 Dew Research
http://www.dewresearch.com