Skip to content

Commit 9c183ad

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/sqrtpi
PR-URL: stdlib-js#8315 Ref: stdlib-js#7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 48d2868 commit 9c183ad

File tree

1 file changed

+79
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/sqrtpi

1 file changed

+79
-1
lines changed

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,83 @@
6464
"power",
6565
"number",
6666
"pi"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "sqrtpi",
72+
"alias": "sqrtpi",
73+
"pkg_desc": "compute the principal square root of the product of π and a positive double-precision floating-point number",
74+
"desc": "computes the principal square root of the product of π and a positive double-precision floating-point number",
75+
"short_desc": "principal square root of the product of π and a positive number",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": 0,
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/uniform",
94+
"parameters": [
95+
0,
96+
100
97+
]
98+
},
99+
"example_values": [
100+
0,
101+
0.01,
102+
0.25,
103+
0.5,
104+
1,
105+
2,
106+
3,
107+
4,
108+
9,
109+
16,
110+
25,
111+
36,
112+
49,
113+
64,
114+
81,
115+
100,
116+
0.1,
117+
10,
118+
50,
119+
99.99
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "square root",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "double",
130+
"dtype": "float64"
131+
}
132+
},
133+
"keywords": [
134+
"sqrtpi",
135+
"principal",
136+
"square",
137+
"root",
138+
"power",
139+
"pi"
140+
],
141+
"extra_keywords": [
142+
"math.sqrt"
143+
]
144+
}
145+
}
68146
}

0 commit comments

Comments
 (0)