tan

tan — tangent

Calling sequence

[t]=tan(x)     

Parameters

x : vector or matrix
t : vector or matrix

Description

The elements of t are the tangent of the elements of x.

Examples



x=[1,%i,-1,-%i]
tan(x)
sin(x)./cos(x)
 
  

See also

atan, tanm