Private Member Functions | |
Expression_sum (const MP_domain &d, const MP_expression &e) | |
void | operator() () const |
double | level () const |
void | generate (const MP_domain &domain, vector< Constant > multiplicators, GenerateFunctor &f, double m) const |
void | insertVariables (set< MP_variable * > &v) const |
Private Attributes | |
double | the_sum |
MP_domain | D |
MP_expression | exp |
Friends | |
MP_expression | sum (const MP_domain &d, const MP_expression &e) |
Definition at line 111 of file MP_expression.cpp.
flopc::Expression_sum::Expression_sum | ( | const MP_domain & | d, | |
const MP_expression & | e | |||
) | [inline, private] |
Definition at line 114 of file MP_expression.cpp.
void flopc::Expression_sum::generate | ( | const MP_domain & | domain, | |
vector< Constant > | multiplicators, | |||
GenerateFunctor & | f, | |||
double | m | |||
) | const [inline, private, virtual] |
void flopc::Expression_sum::insertVariables | ( | set< MP_variable * > & | v | ) | const [inline, private, virtual] |
Implements flopc::MP_expression_base.
Definition at line 131 of file MP_expression.cpp.
References exp.
double flopc::Expression_sum::level | ( | ) | const [inline, private, virtual] |
Implements flopc::MP_expression_base.
Definition at line 119 of file MP_expression.cpp.
References D, flopc::MP_domain::Forall(), and the_sum.
void flopc::Expression_sum::operator() | ( | ) | const [inline, private, virtual] |
MP_expression sum | ( | const MP_domain & | d, | |
const MP_expression & | e | |||
) | [friend] |
forms an expression by summing an expression over a domain.
Definition at line 171 of file MP_expression.cpp.
MP_domain flopc::Expression_sum::D [private] |
MP_expression flopc::Expression_sum::exp [private] |
Definition at line 137 of file MP_expression.cpp.
Referenced by generate(), insertVariables(), and operator()().
double flopc::Expression_sum::the_sum [mutable, private] |