6 #ifndef CHEBYSHEV_INTERVAL_H
7 #define CHEBYSHEV_INTERVAL_H
34 const long double diff =
b -
a;
35 return diff > 0 ? diff : -diff;
General namespace of the framework.
Definition: benchmark_structures.h:16
An interval on the real numbers.
Definition: interval.h:16
interval(long double l, long double r)
Construct an interval from its lower and upper bounds.
Definition: interval.h:29
long double length() const
Returns the length of the interval.
Definition: interval.h:33
long double a
Lower extreme of the interval.
Definition: interval.h:19
long double b
Upper extreme of the interval.
Definition: interval.h:22
interval()
Construct over the origin.
Definition: interval.h:25