Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *PolarToCart(TMtxVec *AmpltVec, TMtxVec *PhaseVec) const; | Converts the polar magnitude/phase pairs to cartesian pairs. |
| 2 | TMtxVec *PolarToCart(TMtxVec *AmpltVec, TMtxVec *PhaseVec, int AIndex, int PIndex, int Index, int Len) const; | Convert AmpltVec elements [AIndex]..[AIndex+Len-1] and PhaseVec elements [PIndex]..[PIndex+Len-1] from polar form (radius,angle) to cartesian form (X,y). |
Overload 1: TMtxVec *PolarToCart(TMtxVec *AmpltVec, TMtxVec *PhaseVec) const;
Converts the polar magnitude/phase pairs to cartesian pairs.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TMtxVec * | |
| 2 | PhaseVec | TMtxVec * |
Convert all AmpltVec and PhaseVec elements (combined) from polar to cartesian form. If AmpltVec and PhaseVec size is not the same, an exeption is raised. The results are stored as complex numbers (X=Re, y=Im) in the calling object. Size and Matrix::Complex properties of the calling object are set implicitly to match AmpltVec and PhaseVec objects.
Overload 2: TMtxVec *PolarToCart(TMtxVec *AmpltVec, TMtxVec *PhaseVec, int AIndex, int PIndex, int Index, int Len) const;
Convert AmpltVec elements [AIndex]..[AIndex+Len-1] and PhaseVec elements [PIndex]..[PIndex+Len-1] from polar form (radius,angle) to cartesian form (X,y).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TMtxVec * | |
| 2 | PhaseVec | TMtxVec * | |
| 3 | AIndex | int | |
| 4 | PIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
The results are stored as complex numbers (X=Re, y=Im) in the calling object elements [Index]..[Index+Len-1]. Size and Matrix::Complex properties of the calling object must be set explicitly. An exception is raised if Matrix::ConditionCheck is True and array borders are overrun/underrun.