/home/coin/SVN-release/OS-2.1.0/Couenne/src/expression/operators/exprSin.hpp File Reference

#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


Enumeration Type Documentation

enum cou_trig

specify which trigonometric function is dealt with in trigEnvelope

Enumerator:
COU_SINE 
COU_COSINE 

Definition at line 22 of file exprSin.hpp.


Function Documentation

CouNumber modulo ( register CouNumber  a,
register CouNumber  b 
) [inline]

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().


Generated on Tue Mar 30 03:08:37 2010 by  doxygen 1.4.7