FlopCpp trunk
Loading...
Searching...
No Matches
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

namespace  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.
 
Constant flopc::pos (const Constant &c)
 for returning non-negative value of the constant.
 
Constant flopc::ceil (const Constant &c)
 The ceiling integral value of the input constant.
 
Constant flopc::floor (const Constant &c)
 The floor integral value of the input constant.
 
Constant flopc::minimum (const Constant &a, const Constant &b)
 Returns the smaller of two constants.
 
Constant flopc::maximum (const Constant &a, const Constant &b)
 Returns the larger of two constants.
 
Constant flopc::operator+ (const Constant &a, const Constant &b)
 Returns the sum of two constants.
 
Constant flopc::operator- (const Constant &a, const Constant &b)
 Returns the difference of two constants.
 
Constant flopc::operator* (const Constant &a, const Constant &b)
 Returns the product of two constants.
 
Constant flopc::operator/ (const Constant &a, const Constant &b)
 Returns the quotient of two constants.
 
Constant flopc::maximum (const MP_domain &i, const Constant &e)
 Returns the maximum over the domain of the constant.
 
Constant flopc::minimum (const MP_domain &i, const Constant &e)
 Returns the sum of two constants.
 
Constant flopc::sum (const MP_domain &i, const Constant &e)
 Returns the sum of two constants.
 
Constant flopc::product (const MP_domain &i, const Constant &e)
 Returns the sum of two constants.