.ModelicaReference.Operators.'tanh()'

tanh()

Information

Hyperbolic tangent function

Syntax

tanh(u)

Description

Returns the tanh of u, with -∞ < u < ∞. Argument u needs to be an Integer or Real expression.

The tanh function can also be accessed as Modelica.Math.tanh.

tanh

Examples

tanh(1)
  = 0.761594155955765

Generated at 2025-04-01T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos