Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

tan float

tan is NOT undoable, NOT queryable, and NOT editable.

Returns the tangent of the given value.

Also available:
atan : Returns the arc tangent in the range -PI/2 to PI/2.
atan2(x,y) : Returns the arc tangent of y/x in the range -PI to PI.
tanh : Hyperbolic function.
atanh : Inverse hyperbolic function.
tand : Returns value in degrees.
atand : Returns value in degrees.
atan2d : Returns value in degrees.

Return value

floatTangent value

Related

cos, sin

MEL examples

tand 45;
// Result: 1 //
atan 1;
// Result: 0.785398 //