FLOPC++
|
Internal representation of an index expression. More...
#include <MP_index.hpp>
Private Member Functions | |
MP_index_mult (MP_index &i, const Constant &j) | |
int | evaluate () const |
MP_index * | getIndex () const |
virtual MP_domain | getDomain (MP_set *s) const |
Private Attributes | |
MP_index_exp | left |
Constant | right |
Friends | |
MP_index_exp | operator* (MP_index &i, const Constant &j) |
Internal representation of an index expression.
Definition at line 170 of file MP_index.hpp.
Definition at line 173 of file MP_index.hpp.
int flopc::MP_index_mult::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::MP_index_base.
Definition at line 175 of file MP_index.hpp.
MP_index* flopc::MP_index_mult::getIndex | ( | ) | const [inline, private, virtual] |
MP_index_exp operator* | ( | MP_index & | i, |
const Constant & | j | ||
) | [friend] |
returns an index expression from a product between an MP_index and a Constant.
Definition at line 79 of file MP_index.cpp.
MP_index_exp flopc::MP_index_mult::left [private] |
Definition at line 182 of file MP_index.hpp.
Referenced by evaluate(), getDomain(), and getIndex().
Constant flopc::MP_index_mult::right [private] |
Definition at line 183 of file MP_index.hpp.
Referenced by evaluate().