6#ifndef CHEBYSHEV_INTERVAL_H
7#define CHEBYSHEV_INTERVAL_H
35 return diff > 0 ? diff : -diff;
double real_t
Floating-point type, used as default for function arguments.
Definition common.h:37
General namespace of the framework.
Definition benchmark.h:22
real_t length() const
Returns the length of the interval.
Definition interval.h:33
double a
Lower extreme of the interval.
Definition interval.h:19
interval(real_t l, real_t r)
Construct an interval from its lower and upper bounds.
Definition interval.h:29
double b
Upper extreme of the interval.
Definition interval.h:22
interval()
Construct over the origin.
Definition interval.h:25