Skip to content

Commit 517e66f

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/gamma-lanczos-sum-expg-scaledf
PR-URL: #8459 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 8c5cd3d commit 517e66f

File tree

1 file changed

+79
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf

1 file changed

+79
-1
lines changed

lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,83 @@
6969
"rational",
7070
"factorial",
7171
"number"
72-
]
72+
],
73+
"__stdlib__": {
74+
"scaffold": {
75+
"$schema": "math/[email protected]",
76+
"base_alias": "gammaLanczosSumExpGScaled",
77+
"alias": "gammaLanczosSumExpGScaledf",
78+
"pkg_desc": "calculate a scaled Lanczos sum for the approximation of the gamma function as a single precision floating-point number",
79+
"desc": "calculates a scaled Lanczos sum for the approximation of the gamma function as a single precision floating-point number",
80+
"short_desc": "scaled Lanczos sum for the approximation of the gamma function",
81+
"parameters": [
82+
{
83+
"name": "x",
84+
"desc": "input value",
85+
"type": {
86+
"javascript": "number",
87+
"jsdoc": "number",
88+
"c": "float",
89+
"dtype": "float32"
90+
},
91+
"domain": [
92+
{
93+
"min": "-infinity",
94+
"max": "infinity"
95+
}
96+
],
97+
"rand": {
98+
"prng": "random/base/uniform",
99+
"parameters": [
100+
-10,
101+
10
102+
]
103+
},
104+
"example_values": [
105+
1,
106+
3.5,
107+
4.5,
108+
-0.5,
109+
2,
110+
3,
111+
-3.5,
112+
0.1,
113+
4,
114+
1.5,
115+
5,
116+
0.5,
117+
2.5,
118+
-1.5,
119+
-2.5,
120+
50,
121+
100,
122+
-50.5,
123+
-100.5,
124+
2.2
125+
]
126+
}
127+
],
128+
"output_policy": "real_floating_point_and_generic",
129+
"returns": {
130+
"desc": "function value",
131+
"type": {
132+
"javascript": "number",
133+
"jsdoc": "number",
134+
"c": "float",
135+
"dtype": "float32"
136+
}
137+
},
138+
"keywords": [
139+
"gamma",
140+
"lanczos",
141+
"scaled",
142+
"approx",
143+
"approximation",
144+
"polynomial",
145+
"rational",
146+
"factorial"
147+
],
148+
"extra_keywords": []
149+
}
150+
}
73151
}

0 commit comments

Comments
 (0)