TOpenCLValue::PolarToCart Method

Overload List

#SignatureDescription
1TOpenCLBase *PolarToCart(TOpenCLBase *AmpltVec, TOpenCLBase *PhaseVec, int aIndex, int PIndex, int Index, int Len);
2TOpenCLValue *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);

#NameTypeDescription
1AmpltVecTOpenCLBase *
2PhaseVecTOpenCLBase *
3aIndexint
4PIndexint
5Indexint
6Lenint
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.

#NameTypeDescription
1AmpltVecTOpenCLValue *
2PhaseVecTOpenCLValue *
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