Returns true, if the bounds of the inner interval do not extend outside the bounds of the outer interval
Returns the maximal interval enclosed by both this interval and other if they are connect, otherwise throws error
Returns true, if there is some interval enclosed by both of these intervals
Returns the minimal interval that encloses both this interval and other. If the intervals are both connected, this is their union.
Returns string representation of the interval
in form of [a, b)
Returns an interval equivalent to: (-∞, ∞) = {x | -∞ < x < ∞}
Returns an interval equivalent to: [a, ∞) = {x | a < x < ∞}
Returns an interval equivalent to: (-∞, a] = {x | -∞ < x <= a}
Returns an interval equivalent to: [a, b] = {x | a <= x <= b}
Returns an interval equivalent to: [a, b) = {x | a <= x < b}
Returns an interval equivalent to: (a, ∞) = {x | a < x < ∞}
Returns an interval equivalent to: for interval(a, true, b, false) -> [a, b) = {x | a <= x < b}
Returns an interval equivalent to: (-∞, a) = {x | -∞ < x < a}
Returns an interval equivalent to: (a, b) = {x | a < x < b}
Returns an interval equivalent to: (a, b] = {x | a < x <= b}
Generated using TypeDoc
Behaves exactly as you might expect