Skip to content

Interval

Interval({a, b})

represents the closed interval from a to b.

See

Examples

>> Interval({1, 6}) * Interval({0, 2})
Interval({0,12})
>> Interval({1.5, 6}) * Interval({0.1, 2.7})
Interval({0.15,16.2})
>> Sign(Interval({-43, -42}))
-1
>> Im(Interval({-Infinity, Infinity}))
0
>> ArcCot(Interval({-1, Infinity}))
Interval({-Pi/2,-Pi/4},{0,Pi/2})

IntervalIntersection, IntervalMemberQ, IntervalUnion

Implementation status

  • ✅ - full supported

Github