TOpenCLValue::ArcTan2 Method

Overload List

#SignatureDescription
1TOpenCLBase *ArcTan2(TOpenCLBase *Y, TOpenCLBase *X, int YIndex, int XIndex, int Index, int Len);
2TOpenCLValue *ArcTan2(TOpenCLValue *Y, TOpenCLValue *X);Inverse tangens of Y/X.

Overload 1: TOpenCLBase *ArcTan2(TOpenCLBase *Y, TOpenCLBase *X, int YIndex, int XIndex, int Index, int Len);

#NameTypeDescription
1YTOpenCLBase *
2XTOpenCLBase *
3YIndexint
4XIndexint
5Indexint
6Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *ArcTan2(TOpenCLValue *Y, TOpenCLValue *X);

Inverse tangens of Y/X.

#NameTypeDescription
1YTOpenCLValue *
2XTOpenCLValue *
Remarks:

Calculates the inverse tangens of Y/X, and returns an angle in the correct quadrant. The results are stored in calling object elements. FloatPrecision and TOpenCLBase::Complex properties of calling object are adjusted automatically to match those of X and Y objects. An exception is raised if X and Y FloatPrecision and TOpenCLBase::Complex properties do not match.

Note that TOpenCLValue::ArcTan is calculated as ArcTan2(1, X).

See Also: TOpenCLValue::ArcTan
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler