Number.atan_2
atan_2y
Group: Trigonometry
Documentation
Computes the argument (angle) in the conversion from cartesian to polar coordinates, taking self
as the x coordinate.
The returned angle is in the -pi through pi range.
Arguments
y
: The y coordinate.
Examples
Convert the coordinates 1 and 2 to polar form.
1.atan_2 2