tan

Syntax

tan(X)

Arguments

X is a scalar/vector/matrix.

Details

The tangent function.

Examples

tan(0 1 2);
// output
[0,1.557408,-2.185040]

Related functions: asin, acos, atan, sin, cos.