Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *PhaseSpectrum(TMtxVec *Vec); | The phase angles (spectrum) of object elements. |
| 2 | TMtxVec *PhaseSpectrum(TMtxVec *Vec, int VecIndex, int Index, int Len); | Calculates the power spectrum from the Vec elements [VecIndex]..[VecIndex+Len-1]. |
Overload 1: TMtxVec *PhaseSpectrum(TMtxVec *Vec);
The phase angles (spectrum) of object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
Remarks:
Calculates the phase angles (spectrum) of all Vec object elements. Phase values are returned in radians and are in the range -PI,PI. Size and TVec::Complex properties of the calling object are set implicitly to match Vec object. The phase angles are calculated from the following equation:
See Also: TVec::PowerSpectrum, TVec::ArcTan2
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler
Overload 2: TMtxVec *PhaseSpectrum(TMtxVec *Vec, int VecIndex, int Index, int Len);
Calculates the power spectrum from the Vec elements [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Remarks:
Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler