9.25. ATAN2

9.25 ATAN2 — Arctangent function

Description:

ATAN2(Y, X) computes the principal value of the argument function of the complex number X + i Y. This function can be used to transform from Cartesian into polar coordinates and allows to determine the angle in the correct quadrant.

Standard:

Fortran 77 and later

Class:

Elemental function

Syntax:

RESULT = ATAN2(Y, X)

Arguments:
Y The type shall be REAL.
X The type and kind type parameter shall be the same as Y. If Y is zero, then X must be nonzero.
Return value:登录查看完整内容