Skip to content

Commit 5967ff0

Browse files
gunjjoshikgryte
andauthored
chore: add structured package data for packages in math/base/special
PR-URL: #8022 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent dab9a78 commit 5967ff0

File tree

4 files changed

+330
-4
lines changed

4 files changed

+330
-4
lines changed

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

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,87 @@
6565
"trigonometry",
6666
"radians",
6767
"angle"
68-
]
68+
],
69+
"__stdlib__": {
70+
"scaffold": {
71+
"$schema": "math/[email protected]",
72+
"base_alias": "acsc",
73+
"alias": "acscf",
74+
"pkg_desc": "compute the arccosecant of a single-precision floating-point number",
75+
"desc": "computes the arccosecant of a single-precision floating-point number",
76+
"short_desc": "arccosecant",
77+
"parameters": [
78+
{
79+
"name": "x",
80+
"desc": "input value",
81+
"type": {
82+
"javascript": "number",
83+
"jsdoc": "number",
84+
"c": "float",
85+
"dtype": "float32"
86+
},
87+
"domain": [
88+
{
89+
"min": "-infinity",
90+
"max": -1
91+
},
92+
{
93+
"min": 1,
94+
"max": "infinity"
95+
}
96+
],
97+
"rand": {
98+
"prng": "random/base/uniform",
99+
"parameters": [
100+
1.1,
101+
5.1
102+
]
103+
},
104+
"example_values": [
105+
-5,
106+
-4.2,
107+
-3.7,
108+
-3.1,
109+
-2.6,
110+
-2.2,
111+
-1.7,
112+
-1.3,
113+
-1.1,
114+
-1.01,
115+
1.01,
116+
1.1,
117+
1.3,
118+
1.7,
119+
2.2,
120+
2.6,
121+
3.1,
122+
3.7,
123+
4.2,
124+
5
125+
]
126+
}
127+
],
128+
"output_policy": "real_floating_point_and_generic",
129+
"returns": {
130+
"desc": "arccosecant",
131+
"type": {
132+
"javascript": "number",
133+
"jsdoc": "number",
134+
"c": "float",
135+
"dtype": "float32"
136+
}
137+
},
138+
"keywords": [
139+
"acscf",
140+
"acsc",
141+
"arccosecant",
142+
"cosecant",
143+
"inverse",
144+
"angle"
145+
],
146+
"extra_keywords": [
147+
"math.asin"
148+
]
149+
}
150+
}
69151
}

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

Lines changed: 86 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,90 @@
6868
"angle",
6969
"math.asinh",
7070
"asinh"
71-
]
71+
],
72+
"__stdlib__": {
73+
"scaffold": {
74+
"$schema": "math/[email protected]",
75+
"base_alias": "acsch",
76+
"alias": "acsch",
77+
"pkg_desc": "compute the hyperbolic arccosecant of a double-precision floating-point number",
78+
"desc": "computes the hyperbolic arccosecant of a double-precision floating-point number",
79+
"short_desc": "hyperbolic arccosecant",
80+
"parameters": [
81+
{
82+
"name": "x",
83+
"desc": "input value",
84+
"type": {
85+
"javascript": "number",
86+
"jsdoc": "number",
87+
"c": "double",
88+
"dtype": "float64"
89+
},
90+
"domain": [
91+
{
92+
"min": "-infinity",
93+
"max": 0
94+
},
95+
{
96+
"min": 0,
97+
"max": "infinity"
98+
}
99+
],
100+
"rand": {
101+
"prng": "random/base/uniform",
102+
"parameters": [
103+
0.5,
104+
5
105+
]
106+
},
107+
"example_values": [
108+
-5,
109+
-3.7,
110+
-2.9,
111+
-2.1,
112+
-1.7,
113+
-1.3,
114+
-1.1,
115+
-0.7,
116+
-0.51,
117+
-0.25,
118+
0.25,
119+
0.51,
120+
0.7,
121+
1.1,
122+
1.3,
123+
1.7,
124+
2.1,
125+
2.9,
126+
3.7,
127+
5
128+
]
129+
}
130+
],
131+
"output_policy": "real_floating_point_and_generic",
132+
"returns": {
133+
"desc": "hyperbolic arccosecant",
134+
"type": {
135+
"javascript": "number",
136+
"jsdoc": "number",
137+
"c": "double",
138+
"dtype": "float64"
139+
}
140+
},
141+
"keywords": [
142+
"acsch",
143+
"hyperbolic",
144+
"inverse",
145+
"cosecant",
146+
"csc",
147+
"arc",
148+
"arccosecant",
149+
"angle",
150+
"asinh"
151+
],
152+
"extra_keywords": [
153+
"math.asinh"
154+
]
155+
}
156+
}
72157
}

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

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,85 @@
6868
"angle",
6969
"polyfill",
7070
"ponyfill"
71-
]
71+
],
72+
"__stdlib__": {
73+
"scaffold": {
74+
"$schema": "math/[email protected]",
75+
"base_alias": "asin",
76+
"alias": "asin",
77+
"pkg_desc": "compute the arcsine of a double-precision floating-point number",
78+
"desc": "computes the arcsine of a double-precision floating-point number",
79+
"short_desc": "arcsine",
80+
"parameters": [
81+
{
82+
"name": "x",
83+
"desc": "input value (in radians)",
84+
"type": {
85+
"javascript": "number",
86+
"jsdoc": "number",
87+
"c": "double",
88+
"dtype": "float64"
89+
},
90+
"domain": [
91+
{
92+
"min": -1,
93+
"max": 1
94+
}
95+
],
96+
"rand": {
97+
"prng": "random/base/uniform",
98+
"parameters": [
99+
-1,
100+
1
101+
]
102+
},
103+
"example_values": [
104+
-1,
105+
-0.95,
106+
-0.9,
107+
-0.85,
108+
-0.75,
109+
-0.66,
110+
-0.5,
111+
-0.33,
112+
-0.25,
113+
-0.11,
114+
0,
115+
0.11,
116+
0.25,
117+
0.33,
118+
0.5,
119+
0.66,
120+
0.75,
121+
0.85,
122+
0.9,
123+
0.95,
124+
1
125+
]
126+
}
127+
],
128+
"output_policy": "real_floating_point_and_generic",
129+
"returns": {
130+
"desc": "arcsine",
131+
"type": {
132+
"javascript": "number",
133+
"jsdoc": "number",
134+
"c": "double",
135+
"dtype": "float64"
136+
}
137+
},
138+
"keywords": [
139+
"asin",
140+
"arcsine",
141+
"sine",
142+
"inverse",
143+
"angle",
144+
"polyfill",
145+
"ponyfill"
146+
],
147+
"extra_keywords": [
148+
"math.asin"
149+
]
150+
}
151+
}
72152
}

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,84 @@
6666
"trigonometry",
6767
"radians",
6868
"angle"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "asin",
74+
"alias": "asinf",
75+
"pkg_desc": "compute the arcsine of a single-precision floating-point number",
76+
"desc": "computes the arcsine of a single-precision floating-point number",
77+
"short_desc": "arcsine",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value (in radians)",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "float",
86+
"dtype": "float32"
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+
-1,
103+
-0.95,
104+
-0.9,
105+
-0.85,
106+
-0.75,
107+
-0.66,
108+
-0.5,
109+
-0.33,
110+
-0.25,
111+
-0.11,
112+
0,
113+
0.11,
114+
0.25,
115+
0.33,
116+
0.5,
117+
0.66,
118+
0.75,
119+
0.85,
120+
0.9,
121+
0.95,
122+
1
123+
]
124+
}
125+
],
126+
"output_policy": "real_floating_point_and_generic",
127+
"returns": {
128+
"desc": "arcsine",
129+
"type": {
130+
"javascript": "number",
131+
"jsdoc": "number",
132+
"c": "float",
133+
"dtype": "float32"
134+
}
135+
},
136+
"keywords": [
137+
"asinf",
138+
"asin",
139+
"arcsine",
140+
"sine",
141+
"inverse",
142+
"angle"
143+
],
144+
"extra_keywords": [
145+
"math.asin"
146+
]
147+
}
148+
}
70149
}

0 commit comments

Comments
 (0)