simple-squiggle

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

setIntersect.js (420B)


      1 export var setIntersectDocs = {
      2   name: 'setIntersect',
      3   category: 'Set',
      4   syntax: ['setIntersect(set1, set2)'],
      5   description: 'Create the intersection of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.',
      6   examples: ['setIntersect([1, 2, 3, 4], [3, 4, 5, 6])', 'setIntersect([[1, 2], [3, 4]], [[3, 4], [5, 6]])'],
      7   seealso: ['setUnion', 'setDifference']
      8 };