remove a number of occurrences of an element of a MultiSet
Remove( M, x, n )
Remove( M, x=n )
Remove( M, [x, n] )
Remove( M, x )
MultiSet; a MultiSet
anything, an expression
nonnegint, number of copies of x to remove from M
Each of the first three calling sequences, Remove( M, x, n ), Remove( M, x=n ), and Remove( M, [x, n ] ), reduces the multiplicity of x in the MultiSet M by n.
The fourth calling sequence, Remove( M, x ), removes all occurrences of x from M.
The new multiplicity of x in M is returned.
The MultiSet/Remove 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)