Union• 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 as ... . The character can be entered as un or \[Union]. • See also: Complement, Intersection.
Examples Using InstantCalculatorsHere are the InstantCalculators for the Union function. Enter the parameters for your calculation and click Calculate to see the result.
Out[1]= |  |
Out[2]= |  |
Entering Commands DirectlyYou can paste a template for this command via the Text Input button on the Union Function Controller. This condenses the list and sorts it.
Out[3]= |  |
Here is the union of two lists.
Out[4]= |  |
Ordinary Mathematical NotationThis also finds the union of two lists.
Out[5]= |  |
|