9 #ifndef _MP_constant_hpp_ 
   10 #define _MP_constant_hpp_ 
   63     Constant 
abs(
const Constant& c);
 
   73     Constant 
pos(
const Constant& c);
 
   82     Constant 
ceil(
const Constant& c);
 
   91     Constant 
floor(
const Constant& c);
 
  100     Constant 
minimum(
const Constant& a, 
const Constant& b);
 
  109     Constant 
maximum(
const Constant& a, 
const Constant& b);
 
  117     Constant 
operator+(
const Constant& a, 
const Constant& b);
 
  125     Constant 
operator-(
const Constant& a, 
const Constant& b);
 
  133     Constant 
operator*(
const Constant& a, 
const Constant& b);
 
  141     Constant 
operator/(
const Constant& a, 
const Constant& b);
 
  149     Constant 
maximum(
const MP_domain& i, 
const Constant& e);
 
  156     Constant 
minimum(
const MP_domain& i, 
const Constant& e);
 
  163     Constant 
sum(
const MP_domain& i, 
const Constant& e);
 
  170     Constant 
product(
const MP_domain& i, 
const Constant& e);
 
Constant maximum(const Constant &a, const Constant &b)
Returns the larger of two constants.This is used in the formation of an expression. 
 
virtual double evaluate() const =0
 
Constant abs(const Constant &c)
for computing the absolute value of a constant value.This is used in the normal formation of an expre...
 
Constant operator/(const Constant &a, const Constant &b)
Returns the quotient of two constants.This is used in the formation of an expression. 
 
Constant product(const MP_domain &i, const Constant &e)
Returns the sum of two constants. 
 
Utility for doing reference counted pointers. 
 
Constant ceil(const Constant &c)
The ceiling integral value of the input constant.This is used in the formation of an expression...
 
Constant floor(const Constant &c)
The floor integral value of the input constant.This is used in the formation of an expression...
 
Constant operator+(const Constant &a, const Constant &b)
Returns the sum of two constants.This is used in the formation of an expression. 
 
Representation of an expression involving an index.This is one of the main public interface classes...
 
Base class for all "constant" types of data. 
 
virtual int getStage() const 
 
Reference to a set of data. 
 
Constant operator-(const Constant &a, const Constant &b)
Returns the difference of two constants.This is used in the formation of an expression. 
 
Constant(Constant_base *r)
 
Constant minimum(const Constant &a, const Constant &b)
Returns the smaller of two constants.This is used in the formation of an expression. 
 
Range over which some other constuct is defined.This is one of the main public interface classes...
 
Constant pos(const Constant &c)
for returning non-negative value of the constant.This is used in the formation of an expression...
 
Reference counted class for all "constant" types of data. 
 
Constant operator*(const Constant &a, const Constant &b)
Returns the product of two constants.This is used in the formation of an expression. 
 
Constant sum(const MP_domain &i, const Constant &e)
Returns the sum of two constants. 
 
virtual int stage() const