updating oE tan


<built-in> function tan(object angle) 

returns the tangent of an angle, or a sequence of angles.

  1. angle : an object, each atom of which will be converted, no matter how deeply nested.

An object, of the same shape as angle. Each atom in the flattened angle is replaced by its tangent.


If any atom in angle is an odd multiple of PI/2, an error occurs, as its tangent would be infinite.


This function may be applied to an atom or to all elements of a sequence of arbitrary shape, recursively.

Example 1:
t = tan(1.0) 
-- t is 1.55741 
See Also:

sin, cos, arctan

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu