Private Member Functions | |
Constant_sum (const MP_domain &i, const Constant &e) | |
void | operator() () const |
double | evaluate () const |
Private Attributes | |
MP_domain | d |
Constant | exp |
double | the_sum |
Friends | |
Constant | sum (const MP_domain &i, const Constant &e) |
Returns the sum of two constants. |
Definition at line 233 of file MP_constant.cpp.
Definition at line 236 of file MP_constant.cpp.
double flopc::Constant_sum::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::Constant_base.
Definition at line 240 of file MP_constant.cpp.
References d, flopc::MP_domain::Forall(), and the_sum.
void flopc::Constant_sum::operator() | ( | ) | const [inline, private, virtual] |
Returns the sum of two constants.
i | MP_domain used in evaluation | |
e | constant |
Definition at line 275 of file MP_constant.cpp.
MP_domain flopc::Constant_sum::d [private] |
Constant flopc::Constant_sum::exp [private] |
double flopc::Constant_sum::the_sum [mutable, private] |