Vector.IFFT Method

Overload List

#SignatureDescription
1function IFFT(const Vec: TVec; NoScale: Boolean): TVec;Calculate the inverse FFT from all Vec elements and store the results in the calling vector.
2function IFFT(NoScale: Boolean): TVec;The inverse backward FFT from complex to complex.
3function IFFT(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer; NoScale: Boolean): TMtxVec;The inverse FFT from complex to complex.

Overload 1: function IFFT(const Vec: TVec; NoScale: Boolean): TVec;

Calculate the inverse FFT from all Vec elements and store the results in the calling vector.

#NameTypeDescription
1VecTVec
2NoScaleBoolean

Result: stored in self (calling object), returns self for chaining

Remarks:

If the NoScale parameter is true then no scaling is performed for the calling vector. Vec Vector.Length must not be the power of two. Vector.Length and Vector.Complex properties of the calling vector are set implicitly to match Vec vector.

Overload 2: function IFFT(NoScale: Boolean): TVec;

The inverse backward FFT from complex to complex.

#NameTypeDescription
1NoScaleBoolean

Result: stored in self (calling object), returns self for chaining

Remarks:

Calculates the inverse (backward) Fast Fourier Transformation (FFT) from complex to complex for all calling vector elements in-place. If the NoScale parameter is true, then no scaling is performed for the calling vector. The results can be erroneous if overflow or underflow occurs.

Examples
var a,b: Vector;
begin
    a.SetIt(True,[1,2,3,4]);
    b.IFFT(a,True);
end;
See Also: Vector.FFT, TDenseMtxVec.FFT

Overload 3: function IFFT(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer; NoScale: Boolean): TMtxVec;

The inverse FFT from complex to complex.

#NameTypeDescription
1VecTMtxVec
2VecIndexInteger
3IndexIntegerstart index
4LenIntegerelement count
5NoScaleBoolean

Result: stored in self (calling object), returns self for chaining

Remarks:

Calculate the inverse FFT from Vec elements [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1]. The Len parameter must be the power of two. Size and Vector.Complex properties of the calling vector must be set explicitly. An exception is raised if Vector.ConditionCheck is True and array borders are overrun.

Note
This is the indexed version of the FFT routine TVec.IFFT. Look there For more information on FFT parameters and storage requirements.

See Also: Vector.IFFT, Matrix.IFFT1D