forked from Open-EO/openeo-processes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
power.json
98 lines (98 loc) · 2.22 KB
/
power.json
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"id": "power",
"summary": "Exponentiation",
"description": "Computes the exponentiation for the base `base` raised to the power of `p`.\n\nThe no-data value `null` is passed through and therefore gets propagated if any of the arguments is `null`.",
"categories": [
"math",
"math > exponential & logarithmic"
],
"parameters": [
{
"name": "base",
"description": "The numerical base.",
"schema": {
"type": [
"number",
"null"
]
}
},
{
"name": "p",
"description": "The numerical exponent.",
"schema": {
"type": [
"number",
"null"
]
}
}
],
"returns": {
"description": "The computed value for `base` raised to the power of `p`.",
"schema": {
"type": [
"number",
"null"
]
}
},
"examples": [
{
"arguments": {
"base": 0,
"p": 2
},
"returns": 0
},
{
"arguments": {
"base": 2.5,
"p": 0
},
"returns": 1
},
{
"arguments": {
"base": 3,
"p": 3
},
"returns": 27
},
{
"arguments": {
"base": 5,
"p": -1
},
"returns": 0.2
},
{
"arguments": {
"base": 1,
"p": 0.5
},
"returns": 1
},
{
"arguments": {
"base": 1,
"p": null
},
"returns": null
},
{
"arguments": {
"base": null,
"p": 2
},
"returns": null
}
],
"links": [
{
"rel": "about",
"href": "http://mathworld.wolfram.com/Power.html",
"title": "Power explained by Wolfram MathWorld"
}
]
}