MultiSet/Entries
return the entries of a MultiSet
Calling Sequence
Parameters
Description
Examples
Compatibility
Entries( M, opt )
M
-
MultiSet; a MultiSet
opt
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
M≔a,2,b,5
type⁡M,MultiSet
true
type⁡M,set
false
Entries⁡M
a,2,b,5
whattype⁡Entries⁡M
set
Entries⁡M,output=list
whattype⁡Entries⁡M,output=list
list
The MultiSet/Entries command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
MultiSet
MultiSet/Members
Download Help Document