Mathematica 9 is now available

Complement

Usage

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


Notes

• The list returned by Complement is sorted into standard order.
• Example: Complement[ a,b,c,d,e ,  a,c ,  d ]LongRightArrow .
Complement[ ,  , ... , SameTest->test] applies test to each pair of elements in eall and the  to determine whether they should be considered the same.
• See Section 1.8.8.
• See also: Intersection, Union.
• New in Version 1; modified in 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.