datatable.math.tanh()

Hyperbolic tangent of x, defined as \(\tanh x = \frac{\sinh x}{\cosh x} = \frac{e^x-e^{-x}}{e^x+e^{-x}}\).

See also

  • artanh() – inverse hyperbolic tangent.