Skip to content

Commit 84f1a31

Browse files
committed
chore: add structured package data for math/base/special/factorial2
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 9e95e4b commit 84f1a31

File tree

1 file changed

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

1 file changed

+73
-1
lines changed

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

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,77 @@
6666
"combinatorics",
6767
"double",
6868
"number"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "factorial2",
74+
"alias": "factorial2",
75+
"pkg_desc": "compute the double factorial",
76+
"desc": "computes the double factorial",
77+
"short_desc": "factorial2",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "double",
86+
"dtype": "float64"
87+
},
88+
"domain": [
89+
{
90+
"min": 0,
91+
"max": "infinity"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/discrete-uniform",
96+
"parameters": [
97+
0,
98+
100
99+
]
100+
},
101+
"example_values": [
102+
1,
103+
2,
104+
3,
105+
4,
106+
5,
107+
6,
108+
7,
109+
8,
110+
9,
111+
10,
112+
11,
113+
12,
114+
13,
115+
14,
116+
15,
117+
16,
118+
17,
119+
18,
120+
19,
121+
20
122+
]
123+
}
124+
],
125+
"output_policy": "real_floating_point_and_generic",
126+
"returns": {
127+
"desc": "factorial2",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "double",
132+
"dtype": "float64"
133+
}
134+
},
135+
"keywords": [
136+
"factorial2",
137+
"dfact"
138+
],
139+
"extra_keywords": []
140+
}
141+
}
70142
}

0 commit comments

Comments
 (0)