Previous Up Next

5.40.8  The union of intervals: union

The union operator is an infixed operator.
union takes two intervals and returns their convex hull.
Input:

i[1,3] union i[2,4]

Output:

[1.00000000000000..4.00000000000000]

Input:

i[2,4] union i[6,9]

Output:

[2.00000000000000..9.00000000000000]

Previous Up Next