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
16 lines (15 loc) • 413 B
JavaScript
module.exports = {
'name': 'setPowerset',
'category': 'Set',
'syntax': [
'setPowerset(set)'
],
'description':
'Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.',
'examples': [
'setPowerset([1, 2, 3])'
],
'seealso': [
'setCartesian'
]
}