numelems - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MultiSet/numelems

return the number of elements of a MultiSet

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

numelems( M )

Parameters

M

-

MultiSet; a MultiSet

Description

• 

numelems( M ) returns the number of elements of the MultiSet M, counted by multiplicity.

Examples

MMultiSeta=2,b=5

Ma,2,b,5

(1)

numelemsM

7

(2)

Compatibility

• 

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