Skip to content

Commit 94b88b0

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents 4bf3aff + 76b5a2a commit 94b88b0

File tree

5 files changed

+310
-84
lines changed

5 files changed

+310
-84
lines changed

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

Lines changed: 73 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -66,86 +66,78 @@
6666
"double-precision"
6767
],
6868
"__stdlib__": {
69-
"stability": "stable",
70-
"envs": {
71-
"node": true,
72-
"browser": true,
73-
"repl": true
74-
},
75-
"namespaces": {
76-
"repl": true,
77-
"parent": false
78-
},
79-
"namespace": false,
80-
"standalone": true,
81-
"c_api": true,
82-
"addon": false,
83-
"wasm": false,
84-
"cli": false,
85-
"benchmarks": {
86-
"c": true,
87-
"cephes": true,
88-
"cpp": false,
89-
"boost": false,
90-
"fortran": false,
91-
"python": true,
92-
"numpy": false,
93-
"scipy": false,
94-
"r": true,
95-
"julia": true,
96-
"js": true
97-
},
98-
"examples": {
99-
"c": true,
100-
"cpp": false,
101-
"fortran": false,
102-
"js": true
103-
},
104-
"dtype": "float64",
105-
"base_alias": "abs",
106-
"alias": "abs",
107-
"short_desc": "absolute value",
108-
"link_text": "absolute value",
109-
"domain": [
110-
{
111-
"min": "-infinity",
112-
"max": "infinity"
113-
}
114-
],
115-
"rand": {
116-
"min": -10,
117-
"max": 10
118-
},
119-
"keywords": [
120-
"absolute",
121-
"value",
122-
"abs",
123-
"magnitude"
124-
],
125-
"extra_keywords": [
126-
"math.abs"
127-
],
128-
"example_values": [
129-
-2,
130-
1,
131-
3,
132-
-5,
133-
4,
134-
0,
135-
-1,
136-
-3,
137-
-3.14,
138-
5.6,
139-
-9,
140-
-5.55,
141-
3.5,
142-
10,
143-
-9.99,
144-
3,
145-
-6,
146-
-7,
147-
8,
148-
-7.77
149-
]
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "abs",
72+
"alias": "abs",
73+
"pkg_desc": "compute the absolute value",
74+
"desc": "computes the absolute value",
75+
"short_desc": "absolute value",
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": "-infinity",
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/uniform",
94+
"parameters": [
95+
-10,
96+
10
97+
]
98+
},
99+
"example_values": [
100+
64,
101+
27,
102+
0,
103+
0.1,
104+
-9,
105+
8,
106+
-1,
107+
125,
108+
-10.2,
109+
11.3,
110+
-12.4,
111+
3.5,
112+
-1.6,
113+
15.7,
114+
-16,
115+
17.9,
116+
-188,
117+
19.11,
118+
-200,
119+
21.15
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "absolute value",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "double",
130+
"dtype": "float64"
131+
}
132+
},
133+
"keywords": [
134+
"abs",
135+
"absolute",
136+
"magnitude"
137+
],
138+
"extra_keywords": [
139+
"math.abs"
140+
]
141+
}
150142
}
151143
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
]
124124
}
125125
],
126+
"output_policy": "real_floating_point_and_generic",
126127
"returns": {
127128
"desc": "squared absolute value",
128129
"type": {

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,82 @@
6868
"float",
6969
"single"
7070
],
71-
"__stdlib__": {}
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "abs2",
75+
"alias": "abs2f",
76+
"pkg_desc": "compute the squared absolute value of a single-precision floating-point number",
77+
"desc": "computes the squared absolute value of a single-precision floating-point number",
78+
"short_desc": "squared absolute value of a single-precision floating-point number",
79+
"parameters": [
80+
{
81+
"name": "x",
82+
"desc": "input value",
83+
"type": {
84+
"javascript": "number",
85+
"jsdoc": "number",
86+
"c": "float",
87+
"dtype": "float32"
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+
"output_policy": "real_floating_point_and_generic",
127+
"returns": {
128+
"desc": "squared absolute value",
129+
"type": {
130+
"javascript": "number",
131+
"jsdoc": "number",
132+
"c": "float",
133+
"dtype": "float32"
134+
}
135+
},
136+
"keywords": [
137+
"abs",
138+
"abs2f",
139+
"squared",
140+
"square",
141+
"absolute",
142+
"magnitude"
143+
],
144+
"extra_keywords": [
145+
"math.abs"
146+
]
147+
}
148+
}
72149
}

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,83 @@
6666
"radians",
6767
"polyfill",
6868
"ponyfill"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "acos",
74+
"alias": "acos",
75+
"pkg_desc": "compute the arccosine (in radians) of a double-precision floating-point number",
76+
"desc": "computes the arccosine (in radians) of a double-precision floating-point number",
77+
"short_desc": "arccosine (in radians) of a double-precision floating-point number",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "double",
86+
"dtype": "float64"
87+
},
88+
"domain": [
89+
{
90+
"min": "-1",
91+
"max": "1"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-1,
98+
1
99+
]
100+
},
101+
"example_values": [
102+
0.84,
103+
-0.37,
104+
0.12,
105+
-0.93,
106+
0.65,
107+
-0.18,
108+
0.48,
109+
-0.79,
110+
0.05,
111+
-0.66,
112+
0.90,
113+
-0.11,
114+
-0.52,
115+
0.27,
116+
0.33,
117+
-0.74,
118+
0.00,
119+
0.71,
120+
-0.25,
121+
0.58
122+
]
123+
}
124+
],
125+
"output_policy": "real_floating_point_and_generic",
126+
"returns": {
127+
"desc": "arccosine (in radians)",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "double",
132+
"dtype": "float64"
133+
}
134+
},
135+
"keywords": [
136+
"acos",
137+
"arccosine",
138+
"inverse",
139+
"trig",
140+
"trigonometry",
141+
"radians"
142+
],
143+
"extra_keywords": [
144+
"math.acos"
145+
]
146+
}
147+
}
70148
}

0 commit comments

Comments
 (0)