Skip to content

Commit d7012a5

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/bernoullif
PR-URL: #8406 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent b3a435a commit d7012a5

File tree

1 file changed

+66
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/bernoullif

1 file changed

+66
-2
lines changed

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

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,71 @@
5959
"special",
6060
"function",
6161
"bernoulli",
62-
"bernoullif",
6362
"number"
64-
]
63+
],
64+
"__stdlib__": {
65+
"scaffold": {
66+
"$schema": "math/[email protected]",
67+
"base_alias": "bernoulli",
68+
"alias": "bernoullif",
69+
"pkg_desc": "compute the nth Bernoulli number as a single-precision floating-point number ",
70+
"desc": "computes the nth Bernoulli number as a single-precision floating-point number",
71+
"short_desc": "Bernoulli number",
72+
"parameters": [
73+
{
74+
"name": "n",
75+
"desc": "input value",
76+
"type": {
77+
"javascript": "number",
78+
"jsdoc": "number",
79+
"c": "float",
80+
"dtype": "float32"
81+
},
82+
"domain": [
83+
{
84+
"min": 0,
85+
"max": "infinity"
86+
}
87+
],
88+
"rand": {
89+
"prng": "random/base/discrete-uniform",
90+
"parameters": [
91+
0,
92+
30
93+
]
94+
},
95+
"example_values": [
96+
0,
97+
1,
98+
2,
99+
3,
100+
4,
101+
5,
102+
6,
103+
10,
104+
20,
105+
15,
106+
18,
107+
25,
108+
21,
109+
22
110+
]
111+
}
112+
],
113+
"output_policy": "real_floating_point_and_generic",
114+
"returns": {
115+
"desc": "function value",
116+
"type": {
117+
"javascript": "number",
118+
"jsdoc": "number",
119+
"c": "float",
120+
"dtype": "float32"
121+
}
122+
},
123+
"keywords": [
124+
"bernoulli"
125+
],
126+
"extra_keywords": []
127+
}
128+
}
65129
}

0 commit comments

Comments
 (0)