Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Rearranging & Restructuring Lists >

Intersection ()

Intersection[list1, list2, ...]
gives a sorted list of the elements common to all the listi.
  • If the listi are considered as sets, Intersection gives their intersection.
  • The listi must have the same head, but it need not be List.
  • Intersection[list1, ..., SameTest->test] applies test to each pair of elements in the listi to determine whether they should be considered the same.
New in 1 | Last modified in 3
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team