Function Tanh(x)

Tanh

Tanh(
    x             ! (input) numerical expression
    )

Arguments

x

A scalar numerical expression.

Return Value

The Tanh function returns the hyperbolic tangent of x in the range \(-1\) to \(1\).

Note

The function Tanh can be used in constraints of nonlinear mathematical programs.

See also

The functions Cosh, Sinh, ArcTanh. Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.