Group: | Mathematical Functions |
Topic: | Trigonometric Functions |
See also: | acos acosh asin asinh atan atanh cos cosh sin sinh tan tanh |
Function: | atan2 | |
Description: | Computes elementwise the angle in radian between the positive part of the x-axis and the line with origin in (0,0) which contains the point (x, y). |
Usage: | z = atan2(y, x) | |
Input: | ||
x | array | |
y | array | |
Output: | ||
z | array |
atan2(0, -1.0)
Contents of atan2 [1,] 3.1416