Function acosh #
Calculate the hyperbolic arccos of a value,
defined as acosh(x) = ln(sqrt(x^2 - 1) + x)
.
For matrices, the function is evaluated element wise.
Syntax #
math.acosh(x)
Parameters #
Parameter | Type | Description |
---|---|---|
x |
number | BigNumber | Complex | Function input |
Returns #
Type | Description |
---|---|
number | BigNumber | Complex | Hyperbolic arccosine of x |
Throws #
Type | Description —- | ———–
Examples #
math.acosh(1.5) // returns 0.9624236501192069