Skip to content

Commit a495900

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

File tree

10 files changed

+798
-10
lines changed

10 files changed

+798
-10
lines changed

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

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,85 @@
6565
"trigonometry",
6666
"radians",
6767
"angle"
68-
]
68+
],
69+
"__stdlib__": {
70+
"scaffold": {
71+
"$schema": "math/[email protected]",
72+
"base_alias": "csc",
73+
"alias": "csc",
74+
"pkg_desc": "evaluate the cosecant of a double-precision floating-point number (in radians)",
75+
"desc": "evaluates the cosecant of a double-precision floating-point number (in radians)",
76+
"short_desc": "cosecant",
77+
"parameters": [
78+
{
79+
"name": "x",
80+
"desc": "input value (in radians)",
81+
"type": {
82+
"javascript": "number",
83+
"jsdoc": "number",
84+
"c": "double",
85+
"dtype": "float64"
86+
},
87+
"domain": [
88+
{
89+
"min": "-infinity",
90+
"max": -5e-324
91+
},
92+
{
93+
"min": 5e-324,
94+
"max": "infinity"
95+
}
96+
],
97+
"rand": {
98+
"prng": "random/base/uniform",
99+
"parameters": [
100+
0.5,
101+
50
102+
]
103+
},
104+
"example_values": [
105+
-37.41,
106+
12.86,
107+
-0.77,
108+
0.69,
109+
-19.23,
110+
4.03,
111+
-6.58,
112+
28.17,
113+
-1.42,
114+
2.61,
115+
-15.37,
116+
10.92,
117+
-3.84,
118+
7.46,
119+
-9.73,
120+
18.65,
121+
-22.09,
122+
13.74,
123+
-2.53,
124+
41.28
125+
]
126+
}
127+
],
128+
"output_policy": "real_floating_point_and_generic",
129+
"returns": {
130+
"desc": "cosecant",
131+
"type": {
132+
"javascript": "number",
133+
"jsdoc": "number",
134+
"c": "double",
135+
"dtype": "float64"
136+
}
137+
},
138+
"keywords": [
139+
"sin",
140+
"sine",
141+
"cosec",
142+
"csc"
143+
],
144+
"extra_keywords": [
145+
"math.sin"
146+
]
147+
}
148+
}
69149
}

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

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,85 @@
6464
"trig",
6565
"trigonometry",
6666
"angle"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "cscd",
72+
"alias": "cscd",
73+
"pkg_desc": "compute the cosecant of a double-precision floating-point number (in degrees)",
74+
"desc": "computes the cosecant of a double-precision floating-point number (in degrees)",
75+
"short_desc": "cosecant",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value (in degrees)",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": "-infinity",
89+
"max": -5e-324
90+
},
91+
{
92+
"min": 5e-324,
93+
"max": "infinity"
94+
}
95+
],
96+
"rand": {
97+
"prng": "random/base/uniform",
98+
"parameters": [
99+
0.5,
100+
180
101+
]
102+
},
103+
"example_values": [
104+
-171.7,
105+
13.6,
106+
-0.8,
107+
0.9,
108+
-122.4,
109+
7.3,
110+
-35.2,
111+
146.8,
112+
-11.4,
113+
22.1,
114+
-78.5,
115+
96.3,
116+
-43.2,
117+
68.7,
118+
-159.9,
119+
51.4,
120+
-117.6,
121+
33.2,
122+
-26.9,
123+
173.5
124+
]
125+
}
126+
],
127+
"output_policy": "real_floating_point_and_generic",
128+
"returns": {
129+
"desc": "cosecant",
130+
"type": {
131+
"javascript": "number",
132+
"jsdoc": "number",
133+
"c": "double",
134+
"dtype": "float64"
135+
}
136+
},
137+
"keywords": [
138+
"acsc",
139+
"cosecant",
140+
"degree",
141+
"sine"
142+
],
143+
"extra_keywords": [
144+
"math.sin"
145+
]
146+
}
147+
}
68148
}

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,84 @@
6363
"trig",
6464
"trigonometry",
6565
"angle"
66-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/[email protected]",
70+
"base_alias": "cscd",
71+
"alias": "cscdf",
72+
"pkg_desc": "compute the cosecant of a single-precision floating-point number (in degrees)",
73+
"desc": "computes the cosecant of a single-precision floating-point number (in degrees)",
74+
"short_desc": "cosecant",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value (in degrees)",
79+
"type": {
80+
"javascript": "number",
81+
"jsdoc": "number",
82+
"c": "float",
83+
"dtype": "float32"
84+
},
85+
"domain": [
86+
{
87+
"min": "-infinity",
88+
"max": -1.4e-45
89+
},
90+
{
91+
"min": 1.4e-45,
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
0.5,
99+
180
100+
]
101+
},
102+
"example_values": [
103+
-172.6,
104+
14.1,
105+
-0.7,
106+
0.8,
107+
-128.3,
108+
6.2,
109+
-31.5,
110+
139.4,
111+
-9.7,
112+
19.8,
113+
-82.1,
114+
91.7,
115+
-47.6,
116+
63.9,
117+
-161.2,
118+
57.3,
119+
-109.5,
120+
28.6,
121+
-23.1,
122+
175.2
123+
]
124+
}
125+
],
126+
"output_policy": "real_floating_point_and_generic",
127+
"returns": {
128+
"desc": "cosecant",
129+
"type": {
130+
"javascript": "number",
131+
"jsdoc": "number",
132+
"c": "float",
133+
"dtype": "float32"
134+
}
135+
},
136+
"keywords": [
137+
"cosecant",
138+
"degree",
139+
"sine"
140+
],
141+
"extra_keywords": [
142+
"math.sin"
143+
]
144+
}
145+
}
67146
}

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

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,85 @@
6565
"trigonometry",
6666
"radians",
6767
"angle"
68-
]
68+
],
69+
"__stdlib__": {
70+
"scaffold": {
71+
"$schema": "math/[email protected]",
72+
"base_alias": "csc",
73+
"alias": "cscf",
74+
"pkg_desc": "evaluate the cosecant of a single-precision floating-point number (in radians)",
75+
"desc": "evaluates the cosecant of a single-precision floating-point number (in radians)",
76+
"short_desc": "cosecant",
77+
"parameters": [
78+
{
79+
"name": "x",
80+
"desc": "input value (in radians)",
81+
"type": {
82+
"javascript": "number",
83+
"jsdoc": "number",
84+
"c": "float",
85+
"dtype": "float32"
86+
},
87+
"domain": [
88+
{
89+
"min": "-infinity",
90+
"max": -1.4e-45
91+
},
92+
{
93+
"min": 1.4e-45,
94+
"max": "infinity"
95+
}
96+
],
97+
"rand": {
98+
"prng": "random/base/uniform",
99+
"parameters": [
100+
0.5,
101+
50
102+
]
103+
},
104+
"example_values": [
105+
-29.73,
106+
8.41,
107+
-0.66,
108+
0.88,
109+
-17.95,
110+
3.47,
111+
-5.12,
112+
21.36,
113+
-1.23,
114+
2.04,
115+
-12.58,
116+
9.71,
117+
-3.02,
118+
6.33,
119+
-8.64,
120+
16.22,
121+
-19.87,
122+
11.58,
123+
-2.11,
124+
27.95
125+
]
126+
}
127+
],
128+
"output_policy": "real_floating_point_and_generic",
129+
"returns": {
130+
"desc": "cosecant",
131+
"type": {
132+
"javascript": "number",
133+
"jsdoc": "number",
134+
"c": "float",
135+
"dtype": "float32"
136+
}
137+
},
138+
"keywords": [
139+
"sin",
140+
"sine",
141+
"cosec",
142+
"csc"
143+
],
144+
"extra_keywords": [
145+
"math.sin"
146+
]
147+
}
148+
}
69149
}

0 commit comments

Comments
 (0)