simple-squiggle

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

setCartesian.js (594B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.setCartesianDocs = void 0;
      7 var setCartesianDocs = {
      8   name: 'setCartesian',
      9   category: 'Set',
     10   syntax: ['setCartesian(set1, set2)'],
     11   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.',
     12   examples: ['setCartesian([1, 2], [3, 4])'],
     13   seealso: ['setUnion', 'setIntersect', 'setDifference', 'setPowerset']
     14 };
     15 exports.setCartesianDocs = setCartesianDocs;