MC++
|
C++ class for (non-verified) interval bounding of factorable function. More...
#include <interval.hpp>
Classes | |
class | Exceptions |
Exceptions of mc::Interval. More... | |
struct | Options |
Options of mc::Interval. More... | |
Public Member Functions | |
Interval () | |
Default constructor (needed for arrays of mc::Interval elements) | |
Interval (const double c) | |
Constructor for a constant value c | |
Interval (const double l, const double u) | |
Constructor for a variable that belongs to the interval [l,u]. | |
Interval (const Interval &I) | |
Copy constructor for the interval I | |
~Interval () | |
Destructor. | |
const double & | l () const |
Return lower bound. | |
const double & | u () const |
Return upper bound. | |
void | l (const double lb) |
Set lower bound to lb | |
void | u (const double ub) |
Set upper bound to ub | |
mc::Interval is a C++ class for interval bounding of factorable functions on a box based on natural interval extensions. Round-off errors are not accounted for in the computations (non-verified implementation).