simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

setCartesian.js (441B)


      1 export var setCartesianDocs = {
      2   name: 'setCartesian',
      3   category: 'Set',
      4   syntax: ['setCartesian(set1, set2)'],
      5   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.',
      6   examples: ['setCartesian([1, 2], [3, 4])'],
      7   seealso: ['setUnion', 'setIntersect', 'setDifference', 'setPowerset']
      8 };