MultiSet/numelems
return the number of elements of a MultiSet
Calling Sequence
Parameters
Description
Examples
Compatibility
numelems( M )
M
-
MultiSet; a MultiSet
numelems( M ) returns the number of elements of the MultiSet M, counted by multiplicity.
M≔MultiSet⁡a=2,b=5
M≔a,2,b,5
numelems⁡M
7
The MultiSet/numelems command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
MultiSet
MultiSet/Elements
MultiSet/Members
Download Help Document