Name Edit

tan - returns tangent of scalars and vectors.

Synopsis Edit

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

Parameters Edit

Vector or scalar of which to determine the tangent.

Description Edit

Returns the tangent of a in radians.

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