Skip to content

Commit 99c65e5

Browse files
committed
chore: add structured package data for math/base/special/bernoulli
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ddceed7 commit 99c65e5

File tree

1 file changed

+68
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/bernoulli

1 file changed

+68
-1
lines changed

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

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,72 @@
6161
"function",
6262
"bernoulli",
6363
"number"
64-
]
64+
],
65+
"__stdlib__": {
66+
"scaffold": {
67+
"$schema": "math/[email protected]",
68+
"base_alias": "bernoulli",
69+
"alias": "bernoulli",
70+
"pkg_desc": "Compute the nth Bernoulli number",
71+
"desc": "Compute the nth Bernoulli number",
72+
"short_desc": "nth Bernoulli number",
73+
"parameters": [
74+
{
75+
"name": "n",
76+
"desc": "input nonnegative integer",
77+
"type": {
78+
"javascript": "number",
79+
"jsdoc": "integer",
80+
"c": "int32_t",
81+
"dtype": "int32"
82+
},
83+
"domain": [
84+
{
85+
"min": "0",
86+
"max": "infinity"
87+
}
88+
],
89+
"rand": {
90+
"prng": "random/base/discrete-uniform",
91+
"parameters": [
92+
0,
93+
20
94+
]
95+
},
96+
"example_values": [
97+
0,
98+
1,
99+
2,
100+
3,
101+
4,
102+
5,
103+
6,
104+
10,
105+
20
106+
]
107+
}
108+
],
109+
"output_policy": "real_floating_point_and_generic",
110+
"returns": {
111+
"desc": "function value",
112+
"type": {
113+
"javascript": "number",
114+
"jsdoc": "number",
115+
"c": "double",
116+
"dtype": "float64"
117+
}
118+
},
119+
"keywords": [
120+
"bernoulli",
121+
"number",
122+
"special",
123+
"function",
124+
"sequence"
125+
],
126+
"extra_keywords": [
127+
"math.bernoulli"
128+
]
129+
}
130+
}
65131
}
132+

0 commit comments

Comments
 (0)