CouExpr.cpp
Go to the documentation of this file.
1 /* $Id: CouExpr.cpp 490 2011-01-14 16:07:12Z pbelotti $
2  *
3  * Name: CouExpr.hpp
4  * Author: Pietro Belotti
5  * Purpose: Container class for expressions
6  *
7  * This file is licensed under the Eclipse Public License (EPL)
8  */
9 
10 #include "CouExpr.hpp"
11 #include "CouenneExprClone.hpp"
12 #include "CouenneExprSum.hpp"
13 
14 using namespace Couenne;
15 
17  return CouExpr (new exprSum (new exprClone (e1.Expression ()),
18  new exprClone (e2.Expression ())));
19 }
20 
26 
27 CouExpr &sin(CouExpr &e);
28 CouExpr &cos(CouExpr &e);
29 CouExpr &log(CouExpr &e);
30 CouExpr &exp(CouExpr &e);
31 
38 
43 
CouExpr & log(CouExpr &e)
Long e1
Definition: OSdtoa.cpp:1815
void fint fint fint real fint real real real real real real real real real * e
CouExpr & operator%(CouExpr &e1, CouExpr &e2)
CouExpr & exp(CouExpr &e)
CouExpr & operator*(CouExpr &e1, CouExpr &e2)
expression clone (points to another expression)
CouExpr & operator^(CouExpr &e1, CouExpr &e2)
CouExpr & operator/(CouExpr &e1, CouExpr &e2)
double CouNumber
main number type in Couenne
CouExpr & cos(CouExpr &e)
CouExpr operator+(CouExpr &e1, CouExpr &e2)
Definition: CouExpr.cpp:16
CouExpr & sin(CouExpr &e)
expression * Expression() const
Definition: CouExpr.hpp:37
CouExpr & operator-(CouExpr &e1, CouExpr &e2)