Private Member Functions | |
Constant_max (const MP_domain &i, const Constant &e) | |
void | operator() () const |
double | evaluate () const |
Private Attributes | |
MP_domain | d |
Constant | exp |
double | the_max |
Friends | |
Constant | maximum (const MP_domain &i, const Constant &e) |
Returns the maximum over the domain of the constant. |
Definition at line 189 of file MP_constant.cpp.
Definition at line 192 of file MP_constant.cpp.
double flopc::Constant_max::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::Constant_base.
Definition at line 199 of file MP_constant.cpp.
References d, flopc::MP_domain::Forall(), and the_max.
void flopc::Constant_max::operator() | ( | ) | const [inline, private, virtual] |
Returns the maximum over the domain of the constant.
i | MP_domain used in evaluation | |
e | constant |
Definition at line 267 of file MP_constant.cpp.
MP_domain flopc::Constant_max::d [private] |
Constant flopc::Constant_max::exp [private] |
double flopc::Constant_max::the_max [mutable, private] |