tanh()

Scalar. Returns the hyperbolic tangent of a given value.

Syntax

tanh ( value )

Parameters

value

A float.

Usage

Returns the hyperbolic tangent of a given value. The function takes a float as its argument, and the function returns a float.

Example

tanh (0.5) returns 0.462117157.