Mathematica 9 is now available

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

Union

FilledSmallSquare Union[, , ... ] gives a sorted list of all the distinct elements that appear in any of the .

FilledSmallSquare Union[list] gives a sorted version of a list, in which all duplicated elements have been dropped.

FilledSmallSquare If the are considered as sets, Union gives their union.

FilledSmallSquare Union[, , ... ] can be input in StandardForm and InputForm as ... . The character can be entered as AliasIndicatorunAliasIndicator or \[Union].

FilledSmallSquare The must have the same head, but it need not be List.

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

FilledSmallSquare See Section 1.8.7 and Section 1.8.8.

FilledSmallSquare See also: Join, Intersection, Complement, Split.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples



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.