Skip to content

Commit 7f8011b

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

File tree

1 file changed

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

1 file changed

+75
-1
lines changed

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

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,79 @@
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": "double factorial",
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": "double factorial",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "double",
132+
"dtype": "float64"
133+
}
134+
},
135+
"keywords": [
136+
"factorial2",
137+
"dfact",
138+
"factorial",
139+
"combinatorics"
140+
],
141+
"extra_keywords": []
142+
}
143+
}
70144
}

0 commit comments

Comments
 (0)