Theoretica
A C++ numerical and automatic mathematical library
|
An interval on the real numbers. More...
#include <interval.h>
Public Member Functions | |
interval () | |
Construct over the origin. | |
interval (long double l, long double r) | |
Construct an interval from its lower and upper bounds. | |
long double | length () const |
Returns the length of the interval. | |
Public Attributes | |
long double | a |
Lower extreme of the interval. | |
long double | b |
Upper extreme of the interval. | |
An interval on the real numbers.