FLOPC++
|
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 270 of file MP_constant.cpp.
Definition at line 273 of file MP_constant.cpp.
double flopc::Constant_sum::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::Constant_base.
Definition at line 277 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 274 of file MP_constant.cpp.
Returns the sum of two constants.
i | MP_domain used in evaluation |
e | constant |
Definition at line 312 of file MP_constant.cpp.
MP_domain flopc::Constant_sum::d [private] |
Definition at line 283 of file MP_constant.cpp.
Referenced by evaluate().
Constant flopc::Constant_sum::exp [private] |
Definition at line 284 of file MP_constant.cpp.
Referenced by operator()().
double flopc::Constant_sum::the_sum [mutable, private] |
Definition at line 285 of file MP_constant.cpp.
Referenced by evaluate(), and operator()().