Skip to content

Commit 78dbf84

Browse files
authored
chore: add structured package data for math/base/special/rsqrt
PR-URL: #8366 Ref: #7924 Reviewed-by: Athan Reines <[email protected]>
1 parent f4b9cdf commit 78dbf84

File tree

1 file changed

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

1 file changed

+79
-1
lines changed

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

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

0 commit comments

Comments
 (0)