This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Numerical Computation / Data Manipulation /

Complement

FilledSmallSquare Complement[eall, , , ... ] gives the elements in eall which are not in any of the .

FilledSmallSquare The list returned by Complement is sorted into standard order.

FilledSmallSquare Example: Complement[a,b,c,d,e, a,c, d] LongRightArrow.

FilledSmallSquare Complement[eall, , ... , SameTest->test] applies test to each pair of elements in eall and the to determine whether they should be considered the same.

FilledSmallSquare See Section 1.8.8.

FilledSmallSquare See also: Intersection, Union.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples