You are here:
Symbol Reference >
MtxVec Namespace
>
Classes
>
TVec Class
>
public
>
FFT Method
>
TVec.FFT Method (boolean)
MtxVec VCL
Example
TVec.FFT Method (boolean)
var
a,b:
TVec
;
begin
CreateIt
(a,b);
try
a.SetIt(False,[1,2,3,4]); b.FFT(a); a.FFT;
// a = [(10, 0),( -2,2), (-2, 0), (-2,-2)]
if
not
a.Equal(b)
then
ERaise
('Not equal');
finally
FreeIt
(a,b);
end
;
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.