Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLBase *PolarToCart(TOpenCLBase *AmpltVec, TOpenCLBase *PhaseVec, int aIndex, int PIndex, int Index, int Len); | |
| 2 | TOpenCLValue *PolarToCart(TOpenCLValue *AmpltVec, TOpenCLValue *PhaseVec); | Converts the polar magnitude/phase pair to cartesian pair. |
Overload 1: TOpenCLBase *PolarToCart(TOpenCLBase *AmpltVec, TOpenCLBase *PhaseVec, int aIndex, int PIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TOpenCLBase * | |
| 2 | PhaseVec | TOpenCLBase * | |
| 3 | aIndex | int | |
| 4 | PIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: TOpenCLValue *PolarToCart(TOpenCLValue *AmpltVec, TOpenCLValue *PhaseVec);
Converts the polar magnitude/phase pair to cartesian pair.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AmpltVec | TOpenCLValue * | |
| 2 | PhaseVec | TOpenCLValue * |
Remarks:
Converts AmpltVec and PhaseVec values (combined) from polar to cartesian form. The result is stored as a complex number (x=Re, y=Im) in to the calling object. FloatPrecision and TOpenCLBase::Complex properties of the calling object are set implicitly to match AmpltVec and PhaseVec objects.
See Also: TOpenCLValue::CartToPolar
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler