Skip to content

Commit 0fa9b00

Browse files
chore: add structured package data for math/base/special/factorial2f
PR-URL: #8024 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 7f8011b commit 0fa9b00

File tree

1 file changed

+75
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/factorial2f

1 file changed

+75
-1
lines changed

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

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

0 commit comments

Comments
 (0)