mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
10 lines (9 loc) • 441 B
JavaScript
;
module.exports = {
'name': 'bellNumbers',
'category': 'Combinatorics',
'syntax': ['bellNumbers(n)'],
'description': 'The Bell Numbers count the number of partitions of a set. A partition is a pairwise disjoint subset of S whose union is S. `bellNumbers` only takes integer arguments. The following condition must be enforced: n >= 0.',
'examples': ['bellNumbers(3)', 'bellNumbers(8)'],
'seealso': ['stirlingS2']
};