函数 asech #

计算值的双曲反割线,定义为 asech(x) = acosh(1/x) = ln(sqrt(1/x^2 - 1) + 1/x)

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

Syntax #

math.asech(x)

Parameters #

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

Returns #

Type Description
number | BigNumber | Complex x 的双曲反割线

Throws #

Type | Description —- | ———–

Examples #

math.asech(0.5)       // returns 1.3169578969248166

另请参阅 #

acsch, acoth

Fork me on GitHub