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) ||
T CoinMin(const T x1, const T x2)
T CoinMax(const T x1, const T x2)
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...
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.
CouNumber operator()()
function for the evaluation of the expression
enum pos printPos() const
print position (PRE, INSIDE, POST)
expression * clone(Domain *d=NULL) const
cloning method
general n-ary operator-type expression: requires argument list.
expression ** arglist_
argument list is an array of pointers to other expressions
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
exprUBCos(expression *lb, expression *ub)
Constructors, destructor.
expression * clone(Domain *d=NULL) const
cloning method
std::string printOp() const
print operator
general include file for different compilers
pos
position where the operator should be printed when printing the expression
CouExpr & cos(CouExpr &e)
double CouNumber
main number type in Couenne