2014-12-23 14:21:44 +01:00

16 lines
295 B
JavaScript

module.exports = {
'name': 'factorial',
'category': 'Probability',
'syntax': [
'n!',
'factorial(n)'
],
'description': 'Compute the factorial of a value',
'examples': [
'5!',
'5 * 4 * 3 * 2 * 1',
'3!'
],
'seealso': ['combinations', 'permutations', 'gamma']
};