mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
16 lines
422 B
JavaScript
16 lines
422 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'
|
|
]
|
|
};
|