Members - Maple Help

MultiSet/Members

return the elements of a MultiSet

 Calling Sequence Members( M ) Elements( M )

Parameters

 M - MultiSet; a MultiSet

Description

 • Members( M ) returns the members of the MultiSet M as a Maple set.
 • Elements is a synonym for Members with respect to MultiSets.

Examples

 > $M≔\mathrm{MultiSet}\left(a=2,b=5\right)$
 ${M}{≔}\left\{\left[{a}{,}{2}\right]{,}\left[{b}{,}{5}\right]\right\}$ (1)
 > $\mathrm{Members}\left(M\right)$
 $\left\{{a}{,}{b}\right\}$ (2)

Compatibility

 • The MultiSet/Members command was introduced in Maple 2016.