Bounded [abstract class]
The splinekit.interval.bounded module provides the abstract base class from which concrete classes of bounded intervals are derived.
This abstract class handles bounded intervals of real numbers.
- class splinekit.interval.bounded.Bounded(bounds: Tuple[float, float])
Bases:
ABCA bounded interval that depends on a pair of endpoints.
- property bounds: Tuple[float, float]
The two endpoints of this interval.
- Returns:
tuple of float – The left- and right-endpoint of this interval, in that order.
—-
- property leftbound: float
The infimum of this bounded interval.
- Returns:
The left endpoint of this interval.
- Return type:
float
- property rightbound: float
The supremum of this bounded interval.
- Returns:
The right endpoint of this interval.
- Return type:
float