函数 sinh #
计算一个值的双曲正弦,定义为 sinh(x) = 1/2 * (exp(x) - exp(-x))。
为避免与矩阵双曲正弦混淆,此函数不适用于矩阵。
Syntax #
math.sinh(x)
Parameters #
| Parameter | Type | Description |
|---|---|---|
x |
number | BigNumber | Complex | 函数输入 |
Returns #
| Type | Description |
|---|---|
| number | BigNumber | Complex | x 的双曲正弦 |
Throws #
Type | Description —- | ———–
Examples #
math.sinh(0.5) // returns number 0.5210953054937474