Function atanh #

Calculate the hyperbolic arctangent of a value, defined as atanh(x) = ln((1 + x)/(1 - x)) / 2.

To avoid confusion with the matrix hyperbolic arctangent, this function does not apply to matrices.

Syntax #

math.atanh(x)

Parameters #

Parameter Type Description
x number | BigNumber | Complex Function input

Returns #

Type Description
number | BigNumber | Complex Hyperbolic arctangent of x

Throws #

Type | Description —- | ———–

Examples #

math.atanh(0.5)       // returns 0.5493061443340549

See also #

acosh, asinh

Fork me on GitHub