MultiSet/intersect
MultiSet intersection operator
Calling Sequence
Parameters
Description
Examples
Compatibility
M intersect N
intersect( M, N, ... )
M
-
MultiSet; a MultiSet, set, or list
N
...
0 or more additional MultiSets, sets or lists
M intersect N returns the MultiSet which is the intersection of M and N, accounting for multiplicities. For example, if a has multiplicity 2 in M and 3 in N then it will have multiplicity 2 in M intersect N.
The `intersect`( M, N, ... ) command performs the n-ary intersection of its arguments
At least one argument must be a MultiSet for this routine to be invoked. Any other argument which is expected to be a MultiSet can be a MultiSet, a set or a list; in the latter two cases the argument is converted to a MultiSet before proceeding to evaluate this command. IsGeneralized(M) must return the same value for all MultiSet arguments M, and all non-MultiSet arguments will be promoted to MultiSets with this same property.
The MultiSet/intersect command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
MultiSet
MultiSet/minus
MultiSet/plus
MultiSet/subset
MultiSet/symmdiff
MultiSet/union
Download Help Document