Skip to content

Commit e094d12

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

File tree

1 file changed

+73
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/gamma

1 file changed

+73
-1
lines changed

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

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

0 commit comments

Comments
 (0)