Mathematica 9 is now available

Complement

Usage

Complement[eall,  ,  , ... ]给出了eall中的元素,这些不在任何  中。


Notes

• 由Complement返回的列表被排成标准顺序。
• 例如: Complement[ a,b,c,d,e ,  a,c ,  d ]LongRightArrow .
Complement[eall,  , ... , SameTest->test] 对在eall中的每对元素应用test,且  用于确定是否他们应当被认为是相同的。
• 参见Mathematica全书: 1.8.8.
• 同时参见: Intersection, Union.
Further Examples

This gives all those elements of the first list that do not appear in either of the other two lists.

In[1]:=  

Out[1]=



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.