Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *PowerSpectrum(TMtxVec *Vec); | The power spectrum from object complex values. |
| 2 | TMtxVec *PowerSpectrum(TMtxVec *Vec, int VecIndex, int Index, int Len); | Calculates the power spectrum from the Vec complex elements [VecIndex]..[VecIndex+Len-1]. |
Overload 1: TMtxVec *PowerSpectrum(TMtxVec *Vec);
The power spectrum from object complex values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
Remarks:
Calculates the power spectrum from the Vec object complex values and stores the results (power spectrum) in the real calling object. Size and TSparseMtx::Complex properties of the calling object are set implicitly to match Vec object. The spectrum elements are squares of the magnitudes of the complex input elements:
See Also: TSparseMtx::PhaseSpectrum
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler
Overload 2: TMtxVec *PowerSpectrum(TMtxVec *Vec, int VecIndex, int Index, int Len);
Calculates the power spectrum from the Vec complex 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 real elements [Index]..[Index+Len-1]. An exception is raised if calling object TSparseMtx::Complex property is true or if array borders are overrun/underrun.
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler