Skip to content

Commit 23bddcf

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

File tree

8 files changed

+654
-12
lines changed

8 files changed

+654
-12
lines changed

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

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,89 @@
6767
"trig",
6868
"trigonometry",
6969
"angle"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "asec",
75+
"alias": "asec",
76+
"pkg_desc": "compute the inverse (arc) secant of a double-precision floating-point number",
77+
"desc": "computes the inverse (arc) secant of a double-precision floating-point number",
78+
"short_desc": "inverse (arc) secant",
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": -1
93+
},
94+
{
95+
"min": 1,
96+
"max": "infinity"
97+
}
98+
],
99+
"rand": {
100+
"prng": "random/base/uniform",
101+
"parameters": [
102+
1.1,
103+
10
104+
]
105+
},
106+
"example_values": [
107+
1506.98,
108+
-237.4,
109+
1.0002,
110+
-1.0005,
111+
42.01,
112+
-77.3,
113+
9.31,
114+
-3.47,
115+
100,
116+
-12.61,
117+
5.73,
118+
-999.9,
119+
2.19,
120+
-7.42,
121+
1.67,
122+
-2.88,
123+
321.5,
124+
-1.23,
125+
19.3,
126+
-15.8
127+
]
128+
}
129+
],
130+
"output_policy": "real_floating_point_and_generic",
131+
"returns": {
132+
"desc": "inverse (arc) secant",
133+
"type": {
134+
"javascript": "number",
135+
"jsdoc": "number",
136+
"c": "double",
137+
"dtype": "float64"
138+
}
139+
},
140+
"keywords": [
141+
"asec",
142+
"inverse",
143+
"cosine",
144+
"cos",
145+
"arc",
146+
"arccosine",
147+
"secant",
148+
"arcsecant"
149+
],
150+
"extra_keywords": [
151+
"math.acos"
152+
]
153+
}
154+
}
71155
}

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

Lines changed: 85 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,96 @@
5656
"stdmath",
5757
"mathematics",
5858
"math",
59-
"math.asin",
60-
"asin",
59+
"math.acos",
60+
"acos",
6161
"degree",
6262
"arcsecant",
63-
"sine",
63+
"cosine",
6464
"inverse",
6565
"trig",
6666
"trigonometry",
6767
"radians",
6868
"angle"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "asecd",
74+
"alias": "asecd",
75+
"pkg_desc": "compute the arcsecant (in degrees) of a double-precision floating-point number",
76+
"desc": "computes the arcsecant (in degrees) of a double-precision floating-point number",
77+
"short_desc": "arcsecant",
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": "-infinity",
91+
"max": -1
92+
},
93+
{
94+
"min": 1,
95+
"max": "infinity"
96+
}
97+
],
98+
"rand": {
99+
"prng": "random/base/uniform",
100+
"parameters": [
101+
1.1,
102+
10
103+
]
104+
},
105+
"example_values": [
106+
100,
107+
-1.07,
108+
2.51,
109+
-4.73,
110+
19.5,
111+
-212.3,
112+
7.66,
113+
-9.38,
114+
3.41,
115+
-5.28,
116+
12.3,
117+
-20,
118+
1.96,
119+
-1.21,
120+
9.91,
121+
-6.7,
122+
15.4,
123+
-3.36,
124+
1506.98,
125+
-1000
126+
]
127+
}
128+
],
129+
"output_policy": "real_floating_point_and_generic",
130+
"returns": {
131+
"desc": "arcsecant (in degrees)",
132+
"type": {
133+
"javascript": "number",
134+
"jsdoc": "number",
135+
"c": "double",
136+
"dtype": "float64"
137+
}
138+
},
139+
"keywords": [
140+
"acos",
141+
"degree",
142+
"arcsecant",
143+
"cosine",
144+
"inverse"
145+
],
146+
"extra_keywords": [
147+
"math.acos"
148+
]
149+
}
150+
}
70151
}

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

Lines changed: 83 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"stdmath",
5757
"mathematics",
5858
"math",
59-
"math.asec",
59+
"math.acos",
6060
"asec",
6161
"degree",
6262
"arcsecant",
@@ -65,5 +65,86 @@
6565
"trig",
6666
"trigonometry",
6767
"radians"
68-
]
68+
],
69+
"__stdlib__": {
70+
"scaffold": {
71+
"$schema": "math/[email protected]",
72+
"base_alias": "asecd",
73+
"alias": "asecdf",
74+
"pkg_desc": "compute the arcsecant (in degrees) of a single-precision floating-point number",
75+
"desc": "computes the arcsecant (in degrees) of a single-precision floating-point number",
76+
"short_desc": "arcsecant",
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+
150.4,
106+
-1.12,
107+
2.63,
108+
-4.05,
109+
33.7,
110+
-487.2,
111+
8.91,
112+
-13.45,
113+
1.07,
114+
-1.37,
115+
95.2,
116+
-2.18,
117+
5.42,
118+
-6.71,
119+
1200.5,
120+
-10.9,
121+
17.6,
122+
-72.3,
123+
241.9,
124+
-3.01
125+
]
126+
}
127+
],
128+
"output_policy": "real_floating_point_and_generic",
129+
"returns": {
130+
"desc": "arcsecant (in degrees)",
131+
"type": {
132+
"javascript": "number",
133+
"jsdoc": "number",
134+
"c": "float",
135+
"dtype": "float32"
136+
}
137+
},
138+
"keywords": [
139+
"asec",
140+
"degree",
141+
"arcsecant",
142+
"secant",
143+
"inverse"
144+
],
145+
"extra_keywords": [
146+
"math.acos"
147+
]
148+
}
149+
}
69150
}

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

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,89 @@
6767
"trig",
6868
"trigonometry",
6969
"angle"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "asec",
75+
"alias": "asecf",
76+
"pkg_desc": "compute the inverse (arc) secant of a single-precision floating-point number",
77+
"desc": "computes the inverse (arc) secant of a single-precision floating-point number",
78+
"short_desc": "inverse (arc) secant",
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": -1
93+
},
94+
{
95+
"min": 1,
96+
"max": "infinity"
97+
}
98+
],
99+
"rand": {
100+
"prng": "random/base/uniform",
101+
"parameters": [
102+
1.1,
103+
5.1
104+
]
105+
},
106+
"example_values": [
107+
905.5,
108+
-123.75,
109+
1.001,
110+
-1.08,
111+
66.2,
112+
-201.9,
113+
13.7,
114+
-3.81,
115+
4.43,
116+
-19.6,
117+
2.28,
118+
-7.33,
119+
150.25,
120+
-11.2,
121+
5.04,
122+
-1.36,
123+
1.21,
124+
-88.65,
125+
37.9,
126+
-402.3
127+
]
128+
}
129+
],
130+
"output_policy": "real_floating_point_and_generic",
131+
"returns": {
132+
"desc": "arcsecant",
133+
"type": {
134+
"javascript": "number",
135+
"jsdoc": "number",
136+
"c": "float",
137+
"dtype": "float32"
138+
}
139+
},
140+
"keywords": [
141+
"asecf",
142+
"inverse",
143+
"cosine",
144+
"cos",
145+
"arc",
146+
"arccosine",
147+
"secant",
148+
"arcsecant"
149+
],
150+
"extra_keywords": [
151+
"math.acos"
152+
]
153+
}
154+
}
71155
}

0 commit comments

Comments
 (0)