|
Chebyshev
Unit testing for scientific software
|
An interval on the real numbers. More...
#include <interval.h>
Public Member Functions | |
| interval () | |
| Construct over the origin. | |
| interval (real_t l, real_t r) | |
| Construct an interval from its lower and upper bounds. | |
| real_t | length () const |
| Returns the length of the interval. | |
Public Attributes | |
| double | a |
| Lower extreme of the interval. | |
| double | b |
| Upper extreme of the interval. | |
An interval on the real numbers.