函数 atanh #

计算一个值的双曲反正切,定义为 atanh(x) = ln((1 + x)/(1 - x)) / 2

为避免与矩阵双曲反正切混淆,此函数不适用于矩阵。

Syntax #

math.atanh(x)

Parameters #

Parameter Type Description
x number | BigNumber | Complex 函数输入

Returns #

Type Description
number | BigNumber | Complex x 的双曲反正切

Throws #

Type | Description —- | ———–

Examples #

math.atanh(0.5)       // returns 0.5493061443340549

另请参阅 #

acosh, asinh

Fork me on GitHub