simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/set/setCartesian.js

8 lines
441 B
JavaScript

export var setCartesianDocs = {
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 and the values will be sorted in ascending order before the operation.',
examples: ['setCartesian([1, 2], [3, 4])'],
seealso: ['setUnion', 'setIntersect', 'setDifference', 'setPowerset']
};