40 return int(
C->evaluate());
94 using namespace flopc;
102 return left->getDomain(s);
106 return left->getDomain(s);
110 return left->getDomain(s);
MP_index * getIndex() const
virtual MP_domain getDomain(MP_set *s) const
Getter for domain over which this index is applied.
Internal representation of an index expression.
Internal representation of an index expression.
virtual MP_domain getDomain(MP_set *s) const
static MP_index & getEmpty()
returns a reference to the distinct "empty" index.
MP_index_subsetRef(const SUBSETREF &s)
virtual MP_domain getDomain(MP_set *s) const
Representation of an index.This is one of the main public interface classes. It is used to iterate th...
Internal representation of a "set".
virtual MP_index * getIndex() const
Utility for doing reference counted pointers.
Constant operator+(const Constant &a, const Constant &b)
Returns the sum of two constants.This is used in the formation of an expression.
Internal representation of an index expression.
Representation of an expression involving an index.This is one of the main public interface classes...
Range over which some other constuct is defined.This is one of the main public interface classes...
virtual MP_domain getDomain(MP_set *s) const
static const MP_index_exp & getEmpty()
Return the unique empty expression.
Constant operator-(const Constant &a, const Constant &b)
Returns the difference of two constants.This is used in the formation of an expression.
virtual void display() const
virtual MP_domain getDomain(MP_set *s) const
const MP_index_base *& operator->() const
MP_index_constant(const Constant &c)
MP_index * getIndex() const
Range over which some other constuct is defined.This is one of the main public interface classes...
static const MP_domain & getEmpty()
returns a reference to the "empty" set.
MP_index_exp(MP_index_base *r)
For internal use.
Representation of a set for indexing into some other construct.This is one of the main public interfa...
Reference counted class for all "constant" types of data.
virtual MP_domain getDomain(MP_set *s) const
Constant operator*(const Constant &a, const Constant &b)
Returns the product of two constants.This is used in the formation of an expression.
virtual MP_domain getDomain(MP_set *s) const
Internal representation of a index.
static MP_index_exp Empty