Skip to content

Commit f51140f

Browse files
authored
chore: add structured package data for math/base/special/pow
PR-URL: #2912 Ref: #1147 Reviewed-by: Athan Reines <[email protected]>
1 parent 2658654 commit f51140f

File tree

1 file changed

+121
-1
lines changed

1 file changed

+121
-1
lines changed

lib/node_modules/@stdlib/math/base/special/pow/package.json

Lines changed: 121 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,125 @@
6464
"exponential",
6565
"function",
6666
"number"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "pow",
72+
"alias": "pow",
73+
"pkg_desc": "exponential function",
74+
"desc": "exponential function",
75+
"short_desc": "exponential function",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "base",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": "-infinity",
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/uniform",
94+
"parameters": [
95+
-10.0,
96+
10.0
97+
]
98+
},
99+
"example_values": [
100+
-1.2,
101+
2.0,
102+
-3.1,
103+
4.0,
104+
5.5,
105+
100.0,
106+
8.9,
107+
3.141592653589793,
108+
11.3,
109+
-3.141592653589793,
110+
13.5,
111+
14.6,
112+
-15.7,
113+
16.8,
114+
-17.9,
115+
10.0,
116+
-19.11,
117+
20.12,
118+
-21.15,
119+
1.0
120+
]
121+
},
122+
{
123+
"name": "y",
124+
"desc": "exponent",
125+
"type": {
126+
"javascript": "number",
127+
"jsdoc": "number",
128+
"c": "double",
129+
"dtype": "float64"
130+
},
131+
"domain": [
132+
{
133+
"min": "-infinity",
134+
"max": "infinity"
135+
}
136+
],
137+
"rand": {
138+
"prng": "random/base/uniform",
139+
"parameters": [
140+
-10.0,
141+
10.0
142+
]
143+
},
144+
"example_values": [
145+
1.2,
146+
-2.0,
147+
3.0,
148+
-0.5,
149+
0.0,
150+
-5.6,
151+
8.9,
152+
-10.0,
153+
1.5,
154+
-12.0,
155+
13.5,
156+
14.6,
157+
-15.7,
158+
6.0,
159+
-17.0,
160+
18.0,
161+
-9.0,
162+
2.12,
163+
-1.15,
164+
-2.0
165+
]
166+
}
167+
],
168+
"returns": {
169+
"desc": "function value",
170+
"type": {
171+
"javascript": "number",
172+
"jsdoc": "number",
173+
"c": "double",
174+
"dtype": "float64"
175+
}
176+
},
177+
"keywords": [
178+
"natural",
179+
"exponential",
180+
"pow",
181+
"power"
182+
],
183+
"extra_keywords": [
184+
"math.pow"
185+
]
186+
}
187+
}
68188
}

0 commit comments

Comments
 (0)