Name: MergeLists - merges sorted list

Synopsis:

array array      MergeLists  -&gt; array 
array array proc MergeLists  -&gt; array


Examples:

[1 3 5] [2 7] MergeLists -&gt; [1 2 3 5 7] 
[[-9 1] [1 3] [4 5]]  [[3 2] [0 7]] {exch 1 get exch 1 get lt} MergeLists -&gt; 
[[-9 1] [3 2] [1 3] [4 5] [0 7]]


Description:

MergeLists is unlike Union which removes repeated elements and does 
not require the arguments to be sorted. However, the result of 
Union is also sorted. MergeLists does not appear in Mathematica V4.0, 
Union does.


References:

[1] The Mathematica Book V4.0 "Union"


Author:

Diesmann


FirstVersion:

8.5.01


SeeAlso:

Select
Split

Source:

/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/mathematica.sli
