Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void CartToPolar(TOpenCLBase *AmpltVec, TOpenCLBase *PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len); | |
| 2 | void CartToPolar(TOpenCLValue *AmpltVec, TOpenCLValue *PhaseVec); | Converts value from cartesian to polar coordinate form. |
Overload 1: void CartToPolar(TOpenCLBase *AmpltVec, TOpenCLBase *PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TOpenCLBase * | |
| 2 | PhaseVec | TOpenCLBase * | |
| 3 | AmpltIndex | int | |
| 4 | PhaseIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: void CartToPolar(TOpenCLValue *AmpltVec, TOpenCLValue *PhaseVec);
Converts value from cartesian to polar coordinate form.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TOpenCLValue * | |
| 2 | PhaseVec | TOpenCLValue * |
Remarks:
Converts value from cartesian to polar coordinate form, storing the magnitude (radius) component in the AmpltVec and the phase (angle) in the PhaseVec. FloatPrecision and TOpenCLBase::Complex properties of AmpltVec and PhaseVec are set automatically.
See Also: TOpenCLValue::PolarToCart
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler