mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
749 B
749 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 | Complex | Array | Matrix | Function input |
Returns
| Type | Description |
|---|---|
| number | Complex | Array | Matrix | Hyperbolic arccosecant of x |
Examples
math.acsch(0.5); // returns 1.4436354751788103