Class
TMtx
- Number of source columns must be even and more then two. Number of source rows must be more than two. Exception will be raised otherwise;
- if TDenseMtxVec.FFTOddLength is set to False, elements from range [0..Cols-2] x [0..Rows-2] will be involved into transformation;
- if TDenseMtxVec.FFTOddLength is set to True, elements from range [0..Cols-1] x [0..Rows-2] will be involved into transformation;
NOTE:Not all source elements are involved into transformation but all elements in the result matrix are needed for the inverse transformation.
| See Also |
|---|
| FFT2D |
| IFFT2D |
| IFFT2DFromReal |
var a: TMtx; begin CreateIt(a); try a.SetIt (4,4,False, [1, 2, 3, 4, -5, 6, -7, 8, 9, 12,-11, 10, 16,-15,-14, 0]); a.FFTStorageFormat := fsfCCS; a.FFTOddLength := False; // the next elements are involved into transformation [1, 2, -5, 6] a.FFT2DFromReal; // result will be // [(4,0), (-12,0), // (0,0), (0,0), // (2,12), (10,10), // (0,-15), (0,0)] // after inverse transformation (a.IFFT2DToReal) only elements in range // [0..Col-2] x [0..Rows-2] will be reconstructed, other elements will be undefined // [1, 2, undef, undef, // -5, 6, undef, undef, // undef, undef, undef, undef, // undef, undef, undef, undef] // // if a.FFTOddLength is set to true, // then the range of reconstruction would be [0..Col-1] x [0..Rows-2]. finally FreeIt(a); end; end;
- Number of source columns must be even and more then two. Number of source rows must be more than two. Exception will be raised otherwise;
- if TDenseMtxVec.FFTOddLength is set to False, elements from range [0..Mtx.Cols-2] x [0..Mtx.Rows-2] will be involved into transformation;
- if TDenseMtxVec.FFTOddLength is set to True, elements from range [0..Mtx.Cols-1] x [0..Mtx.Rows-2] will be involved into transformation;
NOTE:Not all source elements are involved into transformation but all elements in the result matrix are needed for the inverse transformation.
| See Also |
|---|
| FFT2D |
| IFFT2D |
| IFFT2DFromReal |
| Copyright 2008 Dew Research |