tan

View page source

The Tangent Function: tan

Syntax

y = tan ( x )

x, y

See the Possible Types for a unary standard math function.

Atomic

This is an atomic operation .

Derivative

\[\R{tan}^{(1)} (x) = 1 + \tan (x)^2\]

Example

The file tan.cpp contains an example and test of this function.