Algosim documentation: tanh

tanh

The hyperbolic tangent function.

Syntax

Description

Image 1

The hyperbolic tangent function is defined by

tanh(z) = sinh(z) / cosh(z)

for all complex z.

Examples

tanh(0)
0
tanh(1)
0.761594155956
tanh(i)
1.55740772465⋅i

See also