spire.math
An ADT that represents overlapping result for any two intervals.
Companion object for open/closed bounds, used to construct intervals from a set of bounds.
In the comments, we write
- [v, (v or ?v when the bound is interpreted as a lower bound, - v], v), v? when the bound is interpreted as an upper bound.
The symbols [], (), ? correspond to closed, open or unknown bounds.
Companion object for open/closed bounds, used to construct intervals from a set of bounds.
In the comments, we write
- [v, (v or ?v when the bound is interpreted as a lower bound, - v], v), v? when the bound is interpreted as an upper bound.
The symbols [], (), ? correspond to closed, open or unknown bounds.