FLOPC++
Classes | Namespaces | Functions
MP_constant.hpp File Reference
#include "MP_utilities.hpp"
Include dependency graph for MP_constant.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  flopc::Constant_base
 Base class for all "constant" types of data. More...
 
class  flopc::Constant
 Reference counted class for all "constant" types of data. More...
 

Namespaces

 flopc
 All flopc++ code is contained within the flopc namespace.
 

Functions

Constant flopc::abs (const Constant &c)
 for computing the absolute value of a constant value.This is used in the normal formation of an expression such as abs(-5) More...
 
Constant flopc::pos (const Constant &c)
 for returning non-negative value of the constant.This is used in the formation of an expression. It is used to return a non-negative value.. More...
 
Constant flopc::ceil (const Constant &c)
 The ceiling integral value of the input constant.This is used in the formation of an expression. It is used to "round up" a numeric constant which is potentially non-integer. More...
 
Constant flopc::floor (const Constant &c)
 The floor integral value of the input constant.This is used in the formation of an expression. It is used to "truncate" a numeric constant which is potentially non-integer. More...
 
Constant flopc::minimum (const Constant &a, const Constant &b)
 Returns the smaller of two constants.This is used in the formation of an expression. More...
 
Constant flopc::maximum (const Constant &a, const Constant &b)
 Returns the larger of two constants.This is used in the formation of an expression. More...
 
Constant flopc::operator+ (const Constant &a, const Constant &b)
 Returns the sum of two constants.This is used in the formation of an expression. More...
 
Constant flopc::operator- (const Constant &a, const Constant &b)
 Returns the difference of two constants.This is used in the formation of an expression. More...
 
Constant flopc::operator* (const Constant &a, const Constant &b)
 Returns the product of two constants.This is used in the formation of an expression. More...
 
Constant flopc::operator/ (const Constant &a, const Constant &b)
 Returns the quotient of two constants.This is used in the formation of an expression. More...
 
Constant flopc::maximum (const MP_domain &i, const Constant &e)
 Returns the maximum over the domain of the constant. More...
 
Constant flopc::minimum (const MP_domain &i, const Constant &e)
 Returns the sum of two constants. More...
 
Constant flopc::sum (const MP_domain &i, const Constant &e)
 Returns the sum of two constants. More...
 
Constant flopc::product (const MP_domain &i, const Constant &e)
 Returns the sum of two constants. More...