Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLBase *ArcTan2(TOpenCLBase *Y, TOpenCLBase *X, int YIndex, int XIndex, int Index, int Len); | |
| 2 | TOpenCLValue *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);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TOpenCLBase * | |
| 2 | X | TOpenCLBase * | |
| 3 | YIndex | int | |
| 4 | XIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: TOpenCLValue *ArcTan2(TOpenCLValue *Y, TOpenCLValue *X);
Inverse tangens of Y/X.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TOpenCLValue * | |
| 2 | X | TOpenCLValue * |
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