Skip to content

Commit 56fd54f

Browse files
authored
chore: add structured package data for math/base/special/gammaln
PR-URL: #8461 Ref: #7924 Reviewed-by: Athan Reines <[email protected]>
1 parent c803c81 commit 56fd54f

File tree

1 file changed

+78
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/gammaln

1 file changed

+78
-1
lines changed

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,82 @@
6868
"ln",
6969
"lgamma",
7070
"number"
71-
]
71+
],
72+
"__stdlib__": {
73+
"scaffold": {
74+
"$schema": "math/[email protected]",
75+
"base_alias": "gammaln",
76+
"alias": "gammaln",
77+
"pkg_desc": "evaluate the natural logarithm of the gamma function",
78+
"desc": "evaluates the natural logarithm of the gamma function",
79+
"short_desc": "natural logarithm of the gamma function",
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": "infinity"
94+
}
95+
],
96+
"rand": {
97+
"prng": "random/base/uniform",
98+
"parameters": [
99+
-10,
100+
10
101+
]
102+
},
103+
"example_values": [
104+
1,
105+
3.5,
106+
4.5,
107+
-0.5,
108+
2,
109+
3,
110+
-3.5,
111+
0.1,
112+
4,
113+
1.5,
114+
5,
115+
0.5,
116+
2.5,
117+
-1.5,
118+
-2.5,
119+
50,
120+
100,
121+
-50.5,
122+
-100.5,
123+
2.2
124+
]
125+
}
126+
],
127+
"output_policy": "real_floating_point_and_generic",
128+
"returns": {
129+
"desc": "function value",
130+
"type": {
131+
"javascript": "number",
132+
"jsdoc": "number",
133+
"c": "double",
134+
"dtype": "float64"
135+
}
136+
},
137+
"keywords": [
138+
"gamma",
139+
"factorial",
140+
"natural",
141+
"logarithm",
142+
"log",
143+
"ln",
144+
"lgamma"
145+
],
146+
"extra_keywords": []
147+
}
148+
}
72149
}

0 commit comments

Comments
 (0)