Class
TMtx
- Number of source columns and rows must be more than one. An exception will be raised otherwise;
- if TDenseMtxVec.FFTOddLength is set to False, elements in range [0..Cols-2] x [0..Rows-2] will be reconstructed;
- if TDenseMtxVec.FFTOddLength is set to True, elements in range [0..Cols-1] x [0..Rows-2] will be reconstructed;
- Here Cols and Rows are the number of columns and rows of the calling matrix after the inverse transformation.
NOTE: Both properties FFTStorageFormat and TDenseMtxVec.FFTOddLength must be set to the same values for forward and inverse transformation to get reversible results. NoScale parameter allows the scaling to be turned off.
| See Also |
|---|
| FFT2D |
| FFT2DFromReal |
| IFFT2D |
- Number of source columns and rows must be more than one. Exception will be raised otherwise;
- if TDenseMtxVec.FFTOddLength is set to False, elements in range [0..Cols-2] x [0..Rows-2] will be reconstructed;
- if TDenseMtxVec.FFTOddLength is set to True, elements in range [0..Cols-1] x [0..Rows-2] will be reconstructed;
- Here Cols and Rows are the number of columns and rows of the calling matrix after the inverse transformation.
NOTE: Both properties TDenseMtxVec.FFTStorageFormat and TDenseMtxVec.FFTOddLength must be set to the same values for forward and inverse transformation to get reversible results. NoScale parameter allows the scaling to be turned off.
| See Also |
|---|
| FFT2D |
| FFT2DFromReal |
| IFFT2D |
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 := TRUE; // the next elements are involved into transformation [1, 2, 3, -5, 6, -7] a.FFT2DFromReal; // result will be // [(0,0), (-6, -10.39), // (0,0), (3, 12.12), // (12,12), (-11,10), // (0,-15), (-14,0)] a.IFFT2DToReal; // [ 1, 2, 3, 0 // -5, 6, -7, 0 // 12, 12,-11, 10 // 0,-15,-14, 0] // the next elements are reconstructed // [ 1, 2, 3, undef, // -5, 6, -7, undef, // undef, undef, undef, undef, // undef, undef, undef, undef] // // if a.FFTOddLength is set to False, // then range of reconstruction would be one column less, i.e. // [ 1, 2, undef, undef, // -5, 6, undef, undef, // undef, undef, undef, undef, // undef, undef, undef, undef] finally FreeIt(a); end; end;
| Copyright 2008 Dew Research |