|
SOLUTIONS
|
Mathematica
>
Core Language
>
List Manipulation
>
Rearranging & Restructuring Lists
>
Intersection (
)
BUILT-IN MATHEMATICA SYMBOL
Intersection 
Intersection[list1, list2, ...]
gives a sorted list of the elements common to all the
.
Details and OptionsDetails and Options
- If the
are considered as sets, Intersection gives their intersection. - Intersection[list1, list2, ...] can be input in StandardForm and InputForm as
. The character
can be entered as EscinterEsc or \[Intersection]. - The
must have the same head, but it need not be List. - Intersection[list1, ..., SameTest->test] applies test to each pair of elements in the
to determine whether they should be considered the same. - Intersection[a, b] can be entered in StandardForm and InputForm as
or
.
New in 1 | Last modified in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
