return the entries of a MultiSet
Entries( M, opt )
MultiSet; a MultiSet
optional; option of the form output = list or output = set, specifying the form to return (default: output = set)
Entries( M ) returns the entries of the MultiSet M as a set of lists, where the first element of each list is the MultiSet member and the second element is its multiplicity in M. This is the same as the result of Entries( M, output=set ).
Entries( M, output=list ) returns the same result as Entries( M ) but as a list of lists rather than as a set of lists.
M ≔ MultiSet⁡a=2,b=5
The MultiSet/Entries 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)