atan2 (FUN)

FUNCTION atan2 : LREAL

This function will return the angle \(\varphi\) (azimuth) necessary for changing Cartesian to polar coordinates.

InOut:

Scope

Name

Type

Comment

Return

atan2

LREAL

The angle \(\varphi \in \left(-\pi, \pi \right]\), whose sine and cosine correspond to the input values.

Input

lrSinus

LREAL

Sine of angle \(\varphi\)

lrCosinus

LREAL

Cosine of angle \(\varphi\)