simple-squiggle

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

setMultiplicity.js (414B)


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