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