ostk.mathematics.object.RealInterval¶
- class RealInterval(
- self: ostk.mathematics.object.RealInterval,
- lower_bound: ostk.core.type.Real,
- upper_bound: ostk.core.type.Real,
- type: ostk::mathematics::object::IntervalBase::Type,
- lower_bound: ostk.core.type.Real,
Bases:
pybind11_object
Methods
Overloaded function.
- class Type(self: ostk.mathematics.object.RealInterval.Type, value: int)¶
Bases:
pybind11_object
Members:
Undefined
Closed
Open
HalfOpenLeft
HalfOpenRight
- property name¶
- static clip(
- intervals: list[ostk.mathematics.object.RealInterval],
- clipping_interval: ostk.mathematics.object.RealInterval,
- static closed(
- lower_bound: ostk.core.type.Real,
- upper_bound: ostk.core.type.Real,
- contains(*args, **kwargs)¶
Overloaded function.
contains(self: ostk.mathematics.object.RealInterval, real: ostk.core.type.Real) -> bool
contains(self: ostk.mathematics.object.RealInterval, interval: ostk.mathematics.object.RealInterval) -> bool
- static get_gaps(
- intervals: list[ostk.mathematics.object.RealInterval],
- bound: ostk.mathematics.object.RealInterval = RealInterval.Undefined(),
- get_intersection_with(
- self: ostk.mathematics.object.RealInterval,
- interval: ostk.mathematics.object.RealInterval,
- get_lower_bound( ) ostk.core.type.Real ¶
- get_union_with(
- self: ostk.mathematics.object.RealInterval,
- interval: ostk.mathematics.object.RealInterval,
- get_upper_bound( ) ostk.core.type.Real ¶
- static half_open_left(
- lower_bound: ostk.core.type.Real,
- upper_bound: ostk.core.type.Real,
- static half_open_right(
- lower_bound: ostk.core.type.Real,
- upper_bound: ostk.core.type.Real,
- intersects(
- self: ostk.mathematics.object.RealInterval,
- interval: ostk.mathematics.object.RealInterval,
- is_defined(self: ostk.mathematics.object.RealInterval) bool ¶
- is_degenerate(self: ostk.mathematics.object.RealInterval) bool ¶
- static logical_and(
- intervals_1: list[ostk.mathematics.object.RealInterval],
- intervals_2: list[ostk.mathematics.object.RealInterval],
- static logical_or(
- intervals_1: list[ostk.mathematics.object.RealInterval],
- intervals_2: list[ostk.mathematics.object.RealInterval],
- static merge(
- intervals: list[ostk.mathematics.object.RealInterval],
- static open(
- lower_bound: ostk.core.type.Real,
- upper_bound: ostk.core.type.Real,
- static sort(
- intervals: list[ostk.mathematics.object.RealInterval],
- by_lower_bound: bool = True,
- ascending: bool = True,
- by_lower_bound: bool = True,
- to_string( ) ostk.core.type.String ¶
- static undefined() ostk.mathematics.object.RealInterval ¶