simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/set/setMultiplicity.js

8 lines
414 B
JavaScript

export var setMultiplicityDocs = {
name: 'setMultiplicity',
category: 'Set',
syntax: ['setMultiplicity(element, set)'],
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.',
examples: ['setMultiplicity(1, [1, 2, 2, 4])', 'setMultiplicity(2, [1, 2, 2, 4])'],
seealso: ['setDistinct', 'setSize']
};