return the number of elements of a MultiSet
numelems( M )
MultiSet; a MultiSet
numelems( M ) returns the number of elements of the MultiSet M, counted by multiplicity.
M ≔ MultiSet⁡a=2,b=5
The MultiSet/numelems command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
Download Help Document
What kind of issue would you like to report? (Optional)