Skip to content

IntervalIntersection

IntervalIntersection(interval_1, interval_2, ...)

compute the intersection of the intervals interval_1, interval_2, ...

See:

Examples

>> IntervalIntersection(Interval({1, 2}, {3, 4}, {5, 7}, {8, 8.5}), Interval({1.5, 3.5}, {4.1, 6}, {9, 10}))
Interval({1.5,2},{3,3.5},{5,6})

Interval, IntervalMemberQ, IntervalUnion

Implementation status

  • ✅ - full supported

Github