MultiSet/numelems - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : MultiSet : MultiSet/numelems

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