#include <math.h>
#include "funtriplets.hpp"
#include "exprSin.hpp"
#include "CouenneObject.hpp"
#include "CouenneBranchingObject.hpp"
Include dependency graph for branchExprSinCos.cpp:
Go to the source code of this file.
Functions | |
static double | oppcos (double x) |
static double | oppsin (double x) |
static double | oppasin (double x) |
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 |
static double oppcos | ( | double | x | ) | [inline, static] |
Definition at line 18 of file branchExprSinCos.cpp.
References cos().
Referenced by trigSelBranch().
static double oppsin | ( | double | x | ) | [inline, static] |
Definition at line 19 of file branchExprSinCos.cpp.
References sin().
Referenced by trigSelBranch().
static double oppasin | ( | double | x | ) | [inline, static] |
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 exprSin::selectBranch(), and exprCos::selectBranch().