函数 acoth #

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

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

Syntax #

math.acoth(x)

Parameters #

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

Returns #

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

Throws #

Type | Description —- | ———–

Examples #

math.acoth(0.5)     // returns 0.5493061443340548 - 1.5707963267948966i

另请参阅 #

acsch, asech

Fork me on GitHub