Interval
Represents a closed interval [a, b] of real numbers.
Symbols
| Name | Description |
|---|---|
= | Assignment operator for Interval. |
Members
| Name | Description |
|---|---|
| center | Returns the center (mid-point) of the interval. |
| contains | Checks if the interval contains the given value. |
| half_width | Returns the half-width of the interval. |
| lower | Returns the lower bound of the interval. |
| upper | Returns the upper bound of the interval. |
| width | Returns the width of the interval. |