Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void CartToPolar(TMtxVec *AmpltVec, TMtxVec *PhaseVec) const; | Converts elements from cartesian to polar coordinate form. |
| 2 | void CartToPolar(TMtxVec *AmpltVec, TMtxVec *PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len) const; | Convert calling object elements [Index] to [Index+Len-1] from cartesian to polar form. |
Overload 1: void CartToPolar(TMtxVec *AmpltVec, TMtxVec *PhaseVec) const;
Converts elements from cartesian to polar coordinate form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TMtxVec * | |
| 2 | PhaseVec | TMtxVec * |
Converts all calling object elements from cartesian to polar coordinate form, storing the magnitude (radius) component of corresponding elements in the AmpltVec and the phase (angle) component of corresponding elements in the PhaseVec. If you want to use this method then the calling matrix Vector::Complex property must be true. If this is not the case, an exception is raised. Size and Vector::Complex properties of AmpltVec and PhaseVec are set automatically.
Overload 2: void CartToPolar(TMtxVec *AmpltVec, TMtxVec *PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len) const;
Convert calling object elements [Index] to [Index+Len-1] from cartesian to polar form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TMtxVec * | |
| 2 | PhaseVec | TMtxVec * | |
| 3 | AmpltIndex | int | |
| 4 | PhaseIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Store the results in AmpltVec (radius values) and PhaseVec(phase values). 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 or underrun.