Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *ArcTan2(TOpenCLMtxVec *Y, TOpenCLMtxVec *X) const; | Inverse tangens of Y/X. |
| 2 | TOpenCLMtxVec *ArcTan2(TOpenCLMtxVec *Y, TOpenCLMtxVec *X, int YIndex, int XIndex, int Index, int Len) const; | Calculate the inverse tangens of Y/X. |
Overload 1: TOpenCLMtxVec *ArcTan2(TOpenCLMtxVec *Y, TOpenCLMtxVec *X) const;
Inverse tangens of Y/X.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TOpenCLMtxVec * | |
| 2 | X | TOpenCLMtxVec * |
Remarks:
Calculates the inverse tangens of Y/X, and returns an angle in the correct quadrant. The results are stored in calling object elements. Size and clMatrix::Complex properties of calling object are adjusted automatically to match those of X and Y objects. An exception is raised if X and Y size and clMatrix::Complex properties do not match.
Note that clMatrix::ArcTan is calculated as ArcTan2(1, X).
See Also: clMatrix::ArcTan
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLMtxVec *ArcTan2(TOpenCLMtxVec *Y, TOpenCLMtxVec *X, int YIndex, int XIndex, int Index, int Len) const;
Calculate the inverse tangens of Y/X.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TOpenCLMtxVec * | |
| 2 | X | TOpenCLMtxVec * | |
| 3 | YIndex | int | |
| 4 | XIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Remarks:
Calculation uses Y elements [YIndex]..[YIndex+Len-1], X elements [XIndex]..[XIndex+Len-1] and stores the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun.
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler