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
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']
};