Bound
- class Bound
Variable bound wrapper for Python
Note: This struct is named
VariableBoundin Rust code to avoid conflicts with PyO3’sBoundtype, but is exposed asBoundin Python through the#[pyclass(name = "Bound")]attribute.- __copy__() Bound
- __eq__(other: object) bool
- __new__(lower: float, upper: float) Bound
- __repr__() str
- contains(value: float, atol: float) bool
- is_finite() bool
- nearest_to_zero() float
- negative() Bound
- of_binary() Bound
- positive() Bound
- unbounded() Bound
- width() float
- property lower: float
Read-only property.
- property upper: float
Read-only property.