#include <math.h>#include <assert.h>#include "exprUnary.hpp"#include "exprConst.hpp"Include dependency graph for exprSin.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | exprSin |
| class for sin f(x) More... | |
Enumerations | |
| enum | cou_trig { COU_SINE, COU_COSINE } |
| specify which trigonometric function is dealt with in trigEnvelope More... | |
Functions | |
| CouNumber | modulo (register CouNumber a, register CouNumber b) |
| normalize angle within [0,b] (typically, pi or 2pi) | |
| CouNumber | trigSelBranch (const CouenneObject *obj, const OsiBranchingInformation *info, expression *&var, double *&brpts, double *&brDist, int &way, enum cou_trig type) |
| generalized procedure for both sine and cosine | |
| bool | trigImpliedBound (enum cou_trig, int, int, CouNumber *, CouNumber *, t_chg_bounds *) |
| generalized implied bound procedure for sine/cosine | |
| enum cou_trig |
specify which trigonometric function is dealt with in trigEnvelope
Definition at line 22 of file exprSin.hpp.
normalize angle within [0,b] (typically, pi or 2pi)
Definition at line 26 of file exprSin.hpp.
Referenced by bayEnvelope().
| CouNumber trigSelBranch | ( | const CouenneObject * | obj, | |
| const OsiBranchingInformation * | info, | |||
| expression *& | var, | |||
| double *& | brpts, | |||
| double *& | brDist, | |||
| int & | way, | |||
| enum cou_trig | type | |||
| ) |
generalized procedure for both sine and cosine
Definition at line 24 of file branchExprSinCos.cpp.
References cos(), COU_SINE, oppasin(), oppcos(), oppsin(), and sin().
Referenced by exprCos::selectBranch(), and exprSin::selectBranch().
| bool trigImpliedBound | ( | enum | cou_trig, | |
| int | , | |||
| int | , | |||
| CouNumber * | , | |||
| CouNumber * | , | |||
| t_chg_bounds * | ||||
| ) |
generalized implied bound procedure for sine/cosine
Definition at line 64 of file exprSin.cpp.
References t_chg_bounds::CHANGED, cos(), COU_SINE, COUENNE_EPS, pi, pi2, pih, sin(), and updateBound().
Referenced by exprCos::impliedBound(), and exprSin::impliedBound().
1.4.7