Previous topic

sqrt

Next topic

trapz

This Page

tan

mipylib.numeric.minum.tan(x)

Trigonometric tangent, element-wise.

Parameters:x – (array_like) Angle, in radians.
Returns:(array_like) The tangent of each element of x.

Examples:

>>> tan(array([-pi,pi/2,pi]))
array([1.2246467991473532E-16, 1.633123935319537E16, -1.2246467991473532E-16])