TOpenCLValue::CartToPolar Method

Overload List

#SignatureDescription
1void CartToPolar(TOpenCLBase *AmpltVec, TOpenCLBase *PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len);
2void 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);

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

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