atan2(x1, x2, f=None)¶
Computes element-wise arc tangent of x1/x2 choosing the quadrant correctly.
x1 (array) – y-coordinates.
x2 (array) – x-coordinates. If x1.shape != x2.shape, they must be broadcastable to a common shape (which becomes the shape of the output).
f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.
Array of angles in radians, in the range [-pi, pi].