Skip to content

Commit 6295b0a

Browse files
iampratik13kgryte
andauthored
chore: add structured package data for math/base/special/gammasgn
PR-URL: #8441 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent aa21cdf commit 6295b0a

File tree

1 file changed

+74
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/gammasgn

1 file changed

+74
-1
lines changed

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

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,78 @@
6161
"gamma",
6262
"sign",
6363
"number"
64-
]
64+
],
65+
"__stdlib__": {
66+
"scaffold": {
67+
"$schema": "math/base@v1.0",
68+
"base_alias": "gammasgn",
69+
"alias": "gammasgn",
70+
"pkg_desc": "compute the sign of the gamma function",
71+
"desc": "computes the sign of the gamma function",
72+
"short_desc": "sign of the gamma function",
73+
"parameters": [
74+
{
75+
"name": "x",
76+
"desc": "input value",
77+
"type": {
78+
"javascript": "number",
79+
"jsdoc": "number",
80+
"c": "double",
81+
"dtype": "float64"
82+
},
83+
"domain": [
84+
{
85+
"min": "-infinity",
86+
"max": "infinity"
87+
}
88+
],
89+
"rand": {
90+
"prng": "random/base/uniform",
91+
"parameters": [
92+
-10,
93+
10
94+
]
95+
},
96+
"example_values": [
97+
1,
98+
-0.5,
99+
-1.5,
100+
1.5,
101+
2,
102+
-2,
103+
3,
104+
4,
105+
5,
106+
0.5,
107+
2.5,
108+
-2.5,
109+
-3.5,
110+
0,
111+
-1,
112+
-3,
113+
10,
114+
-10.5,
115+
0.1,
116+
-0.1
117+
]
118+
}
119+
],
120+
"output_policy": "real_floating_point_and_generic",
121+
"returns": {
122+
"desc": "sign of the gamma function",
123+
"type": {
124+
"javascript": "number",
125+
"jsdoc": "number",
126+
"c": "double",
127+
"dtype": "float64"
128+
}
129+
},
130+
"keywords": [
131+
"gamma",
132+
"sign",
133+
"gammasgn"
134+
],
135+
"extra_keywords": []
136+
}
137+
}
65138
}

0 commit comments

Comments
 (0)