@infsup: intersect (A) ¶@infsup: intersect (A, B) ¶@infsup: intersect (A, [], DIM) ¶Intersect intervals.
With two arguments the intersection is built pair-wise. Otherwise the intersection is computed for all interval members along dimension DIM, which defaults to the first non-singleton dimension.
Accuracy: The result is a tight enclosure.
x = infsup (1, 3); y = infsup (2, 4); intersect (x, y) ⇒ ans = [2, 3]
See also: @@infsup/union, @@infsup/setdiff, @@infsup/setxor.
Package: interval