atan

Calculates the inverse tangent of an argument in radians, degrees or gradians. Depending on input, function can return scalar, vector, matrix or complex number.

Arguments

  1. Real or complex value x

Output

Angle in [-pi/2, pi/2] or complex value

Examples

atan