topunion
Calculation
Return value
an array containing the set of values in a and b.
Parameters
a
in
required
b
in
required
Examples
IDL> a = [2,4,6,8]
IDL> b = [6,1,3,2]
IDL> res=union(a,b)
IDL> print, res
1 2 3 4 5 6
8
this is the list ao all elements in either sets.
Version history
Version
$Id: union.pro 378 2008-08-12 12:35:46Z pinsard $
History
Known issues
Restrictions
Statistics
McCabe cyclic | 3 |
McCabe essential | 1 |
McCabe modular design | 1 |