#include "MP_utilities.hpp"
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::operator- (const Constant &a) |
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::mpif (const MP_boolean &c, const Constant &a, const Constant &b) |
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. |