-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy patharccos.json
More file actions
47 lines (47 loc) · 1.25 KB
/
arccos.json
File metadata and controls
47 lines (47 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"id": "arccos",
"summary": "Inverse cosine",
"description": "Computes the arc cosine of `x`. The arc cosine is the inverse function of the cosine so that *`arccos(cos(x)) = x`*.\n\nWorks on radians only.\nNo-data values are passed through. `NaN` is returned for values < -1 and > 1.",
"categories": [
"math > trigonometric"
],
"parameters": [
{
"name": "x",
"description": "A number in the range *[-1, 1]*.",
"schema": {
"type": [
"number",
"null"
],
"minimum": -1,
"maximum": 1
}
}
],
"returns": {
"description": "The computed angle in radians in the range *[0, π]*.",
"schema": {
"type": [
"number",
"null"
],
"minimum": 0
}
},
"examples": [
{
"arguments": {
"x": 1
},
"returns": 0
}
],
"links": [
{
"rel": "about",
"href": "http://mathworld.wolfram.com/InverseCosine.html",
"title": "Inverse cosine explained by Wolfram MathWorld"
}
]
}