Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *IFFTToReal(TMtxVec *Vec, int VecIndex, int Index, int Len, bool NoScale = false); | The inverse FFT from complex to real. |
| 2 | TVec *IFFTToReal(bool NoScale = false); | The inverse FFT from complex to real. |
| 3 | TVec *IFFTToReal(TVec *Vec, bool NoScale = false); | Calculate the inverse FFT from all Vec elements (not-in-place). |
Overload 1: TMtxVec *IFFTToReal(TMtxVec *Vec, int VecIndex, int Index, int Len, bool NoScale = false);
The inverse FFT from complex to real.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int | |
| 5 | NoScale = false | bool |
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 not be a power of two. Size and TVec::Complex properties of the calling object must be set explicitly. An exception is raised if TVec::ConditionCheck is True and array borders are overrun.
This is the indexed version of the FFT routine TVec::IFFTToReal. Look there for more information on FFT parameters and storage requirements.
Overload 2: TVec *IFFTToReal(bool NoScale = false);
The inverse FFT from complex to real.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | NoScale = false | bool |
Calculates the inverse Fast Fourier Transformation (FFT) from complex to real from all calling vector elements. The result is a real type vector. Input vector must be a complex vector or an exception is raised. 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.
In-place fsfCCS complication
When TVec::FFTStorageFormat is equal to fsfCCS the Length of the result will be equal to Length-2, because the source data is bigger than the result data by 2 real samples, if TVec::FFTOddLength is false. If TVec::FFTOddLength is True the result will fill up Length-1 samples.
Overload 3: TVec *IFFTToReal(TVec *Vec, bool NoScale = false);
Calculate the inverse FFT from all Vec elements (not-in-place).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVec * | |
| 2 | NoScale = false | bool |
The source spectrum is Vec and the real result is stored in the (separate) calling vector. Vec TVec::Length need not be a power of two. TVec::Length and TVec::Complex properties of the calling vector are set implicitly to the size and type of the result.
Unlike the in-place TVec::IFFTToReal overload, this not-in-place overload needs neither extra storage nor TVec::FFTOddLength management: the result length (odd or even) is taken from the source spectrum's own TVec::FFTOddLength, which the matching not-in-place TVec::FFTFromReal already set, so odd- and even-length signals round-trip without the caller ever touching FFTOddLength.