Compute tangent element-wise.
x : array_like
Angles in radians.
y : ndarray
The corresponding tangent values.
Examples
>>> from math import pi >>> np.tan(np.array([-pi,pi/2,pi])) array([ 1.22460635e-16, 1.63317787e+16, -1.22460635e-16])
numpy.cos
numpy.arcsin