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] |
Implements flopc::Functor.
Definition at line 237 of file MP_constant.cpp.
MP_domain flopc::Constant_sum::d [private] |
Definition at line 246 of file MP_constant.cpp.
Referenced by evaluate().
Constant flopc::Constant_sum::exp [private] |
Definition at line 247 of file MP_constant.cpp.
Referenced by operator()().
double flopc::Constant_sum::the_sum [mutable, private] |
Definition at line 248 of file MP_constant.cpp.
Referenced by evaluate(), and operator()().