Skip to content

Commit 23bf064

Browse files
chore: add structured package data for math/base/special/abs2
PR-URL: #6903 Ref: #1147 Reviewed-by: Athan Reines <[email protected]>
1 parent fe103d4 commit 23bf064

File tree

1 file changed

+77
-1
lines changed

1 file changed

+77
-1
lines changed

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

+77-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,81 @@
6868
"double",
6969
"dbl"
7070
],
71-
"__stdlib__": {}
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "abs2",
75+
"alias": "abs2",
76+
"pkg_desc": "compute the squared absolute value",
77+
"desc": "computes the squared absolute value",
78+
"short_desc": "squared absolute value",
79+
"parameters": [
80+
{
81+
"name": "x",
82+
"desc": "input value",
83+
"type": {
84+
"javascript": "number",
85+
"jsdoc": "number",
86+
"c": "double",
87+
"dtype": "float64"
88+
},
89+
"domain": [
90+
{
91+
"min": "-infinity",
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
-10,
99+
10
100+
]
101+
},
102+
"example_values": [
103+
64,
104+
27,
105+
0,
106+
0.1,
107+
-9,
108+
8,
109+
-1,
110+
125,
111+
-10.2,
112+
11.3,
113+
-12.4,
114+
3.5,
115+
-1.6,
116+
15.7,
117+
-16,
118+
17.9,
119+
-188,
120+
19.11,
121+
-200,
122+
21.15
123+
]
124+
}
125+
],
126+
"returns": {
127+
"desc": "squared absolute value",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "double",
132+
"dtype": "float64"
133+
}
134+
},
135+
"keywords": [
136+
"abs",
137+
"abs2",
138+
"squared",
139+
"square",
140+
"absolute",
141+
"magnitude"
142+
],
143+
"extra_keywords": [
144+
"math.abs"
145+
]
146+
}
147+
}
72148
}

0 commit comments

Comments
 (0)