function ArcTan2(Y: TOpenCLValue; X: TOpenCLValue): TOpenCLValue;
Inverse tangens of Y/X.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TOpenCLValue | source TOpenCLValue |
| 2 | X | TOpenCLValue | source TOpenCLValue |
Returns: 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