Name Edit

atan - returns arctangent of scalars and vectors.

Synopsis Edit

vector1 atan(vector1 a);
vector2 atan(vector2 a);
vector3 atan(vector3 a);
vector4 atan(vector4 a);

Parameters Edit

Vector or scalar of which to determine the arctangent.

Description Edit

Returns the arctangent of x in the range of -pi/2 to pi/2 radians.

For vectors, the returned vector contains the arctangent of each element of the input vector.