simple-squiggle

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

setPowerset.js (383B)


      1 export var setPowersetDocs = {
      2   name: 'setPowerset',
      3   category: 'Set',
      4   syntax: ['setPowerset(set)'],
      5   description: 'Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.',
      6   examples: ['setPowerset([1, 2, 3])'],
      7   seealso: ['setCartesian']
      8 };