mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
788 B
788 B
Function acsch
Calculate the hyperbolic arccosecant of a value,
defined as acsch(x) = ln(1/x + sqrt(1/x^2 + 1)).
For matrices, the function is evaluated element wise.
Syntax
math.acsch(x)
Parameters
| Parameter | Type | Description |
|---|---|---|
x |
Number | Boolean | Complex | Unit | Array | Matrix | null | Function input |
Returns
| Type | Description |
|---|---|
| Number | Complex | Array | Matrix | Hyperbolic arccosecant of x |
Examples
math.acsch(0.5); // returns 1.4436354751788103