SetMinus
The elements of set a that are not also in set b.
Wikipedia
Set differenceMathWorldSetDifferenceWikidataQ845126FungrimSetMinusWolfram LanguageComplement!SetMinus(a, b)the elements of `a` that are not also in `b`.Details
- Not commutative:
generally differs from . - Removing elements that aren't present in `a` leaves it unchanged.
- Identity:
. See Intersection. - Subtracting a superset of `a` collapses the result to
. - The result preserves encounter order rather than sorting into a canonical order.
Examples
See also: Union, Intersection