atan2

Calculates the arc tangent of y/x using the signs of arguments to determine the correct quadrant. Depending on input, function can return scalar, vector, matrix or complex number.

Arguments

  1. Real value y
  2. Real value x

Output

Number in [-pi,pi]

Examples

atan2