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