simple-squiggle

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

setDistinct.js (342B)


      1 export var setDistinctDocs = {
      2   name: 'setDistinct',
      3   category: 'Set',
      4   syntax: ['setDistinct(set)'],
      5   description: 'Collect the distinct elements of a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.',
      6   examples: ['setDistinct([1, 1, 1, 2, 2, 3])'],
      7   seealso: ['setMultiplicity']
      8 };