• Union[, , ... ] gives a sorted list of all the distinct elements that appear in any of the .
• Union[list] gives a sorted version of a list, in which all duplicated elements have been dropped.
• If the
are considered as sets, Union
gives their union.
• Union[, ,
can be input in StandardForm
... . The character
can be entered as un
must have the same head, but it need not be List
... , SameTest->test]
to each pair of elements in the
to determine whether they should be considered the same.
• New in Version 1; modified in 3.