1 |
|
2 |
|
3 | # Function acosh
|
4 |
|
5 | Calculate the hyperbolic arccos of a value,
|
6 | defined as `acosh(x) = ln(sqrt(x^2 - 1) + x)`.
|
7 |
|
8 | For matrices, the function is evaluated element wise.
|
9 |
|
10 |
|
11 | ## Syntax
|
12 |
|
13 | ```js
|
14 | math.acosh(x)
|
15 | ```
|
16 |
|
17 | ### Parameters
|
18 |
|
19 | Parameter | Type | Description
|
20 | --------- | ---- | -----------
|
21 | `x` | number | Complex | Unit | Array | Matrix | Function input
|
22 |
|
23 | ### Returns
|
24 |
|
25 | Type | Description
|
26 | ---- | -----------
|
27 | number | Complex | Array | Matrix | Hyperbolic arccosine of x
|
28 |
|
29 |
|
30 | ## Examples
|
31 |
|
32 | ```js
|
33 | math.acosh(1.5) // returns 0.9624236501192069
|
34 | ```
|
35 |
|
36 |
|
37 | ## See also
|
38 |
|
39 | [cosh](cosh.md),
|
40 | [asinh](asinh.md),
|
41 | [atanh](atanh.md)
|