函数 acosh #
计算一个值的双曲反余弦,定义为 acosh(x) = ln(sqrt(x^2 - 1) + x)。
对于矩阵,该函数逐元素求值。
Syntax #
math.acosh(x)
Parameters #
| Parameter | Type | Description |
|---|---|---|
x |
number | BigNumber | Complex | 函数输入 |
Returns #
| Type | Description |
|---|---|
| number | BigNumber | Complex | x 的双曲反余弦 |
Throws #
Type | Description —- | ———–
Examples #
math.acosh(1.5) // returns 0.9624236501192069