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) • 421 B
JavaScript
module.exports = {
'name': 'setCartesian',
'category': 'Set',
'syntax': [
'setCartesian(set1, set2)'
],
'description':
'Create the cartesian product of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.',
'examples': [
'setCartesian([1, 2], [3, 4])'
],
'seealso': [
'setUnion', 'setIntersect', 'setDifference', 'setPowerset'
]
}