11 #ifndef COUENNE_EXPRBCOS_HPP 12 #define COUENNE_EXPRBCOS_HPP 19 # define M_PI 3.14159265358979323846 67 (floor (l/pi2 - 0.5) <
119 if ((u - l >= pi2) ||
expression * clone(Domain *d=NULL) const
cloning method
expression ** arglist_
argument list is an array of pointers to other expressions
expression * clone(Domain *d=NULL) const
cloning method
pos
position where the operator should be printed when printing the expression
class to compute lower bound of a cosine based on the bounds of its arguments
std::string printOp() const
print operator
exprLBCos(expression *lb, expression *ub)
Constructors, destructor.
general n-ary operator-type expression: requires argument list.
double CouNumber
main number type in Couenne
T CoinMax(const T x1, const T x2)
std::string printOp() const
print operator
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...
enum pos printPos() const
print position (PRE, INSIDE, POST)
exprUBCos(expression *lb, expression *ub)
Constructors, destructor.
CouNumber operator()()
function for the evaluation of the expression
CouExpr & cos(CouExpr &e)
T CoinMin(const T x1, const T x2)
class to compute lower bound of a cosine based on the bounds of its arguments
enum pos printPos() const
print position (PRE, INSIDE, POST)
CouNumber operator()()
function for the evaluation of the expression
general include file for different compilers