File tree Expand file tree Collapse file tree 1 file changed +73
-1
lines changed
lib/node_modules/@stdlib/math/base/special/factorial Expand file tree Collapse file tree 1 file changed +73
-1
lines changed Original file line number Diff line number Diff line change 64
64
" combinatorics" ,
65
65
" gamma" ,
66
66
" number"
67
- ]
67
+ ],
68
+ "__stdlib__" : {
69
+ "scaffold" : {
70
+ "$schema" :
" math/[email protected] " ,
71
+ "base_alias" : " factorial" ,
72
+ "alias" : " factorial" ,
73
+ "pkg_desc" : " compute the factorial" ,
74
+ "desc" : " computes the factorial" ,
75
+ "short_desc" : " factorial" ,
76
+ "parameters" : [
77
+ {
78
+ "name" : " x" ,
79
+ "desc" : " input value" ,
80
+ "type" : {
81
+ "javascript" : " number" ,
82
+ "jsdoc" : " number" ,
83
+ "c" : " double" ,
84
+ "dtype" : " float64"
85
+ },
86
+ "domain" : [
87
+ {
88
+ "min" : 0 ,
89
+ "max" : " infinity"
90
+ }
91
+ ],
92
+ "rand" : {
93
+ "prng" : " random/base/discrete-uniform" ,
94
+ "parameters" : [
95
+ 0 ,
96
+ 100
97
+ ]
98
+ },
99
+ "example_values" : [
100
+ 1 ,
101
+ 2 ,
102
+ 3 ,
103
+ 4 ,
104
+ 5 ,
105
+ 6 ,
106
+ 7 ,
107
+ 8 ,
108
+ 9 ,
109
+ 10 ,
110
+ 11 ,
111
+ 12 ,
112
+ 13 ,
113
+ 14 ,
114
+ 15 ,
115
+ 16 ,
116
+ 17 ,
117
+ 21 ,
118
+ 34 ,
119
+ 99
120
+ ]
121
+ }
122
+ ],
123
+ "output_policy" : " real_floating_point_and_generic" ,
124
+ "returns" : {
125
+ "desc" : " factorial" ,
126
+ "type" : {
127
+ "javascript" : " number" ,
128
+ "jsdoc" : " number" ,
129
+ "c" : " double" ,
130
+ "dtype" : " float64"
131
+ }
132
+ },
133
+ "keywords" : [
134
+ " factorial" ,
135
+ " fact"
136
+ ],
137
+ "extra_keywords" : []
138
+ }
139
+ }
68
140
}
You can’t perform that action at this time.
0 commit comments