#include <math.h>
#include "CouenneTypes.hpp"
#include "funtriplets.hpp"
Include dependency graph for powNewton.cpp:
Go to the source code of this file.
Defines | |
#define | MAX_ITER 10 |
#define | COU_POW_TOLERANCE 1e-12 |
Functions | |
CouNumber | powNewton (CouNumber xc, CouNumber yc, unary_function f, unary_function fp, unary_function fpp) |
find proper tangent point to add deepest tangent cut | |
CouNumber | powNewton (CouNumber xc, CouNumber yc, funtriplet *tri) |
find proper tangent point to add deepest tangent cut |
#define MAX_ITER 10 |
Definition at line 15 of file powNewton.cpp.
#define COU_POW_TOLERANCE 1e-12 |
CouNumber powNewton | ( | CouNumber | xc, | |
CouNumber | yc, | |||
unary_function | f, | |||
unary_function | fp, | |||
unary_function | fpp | |||
) |
find proper tangent point to add deepest tangent cut
Definition at line 27 of file powNewton.cpp.
Referenced by addPowEnvelope(), contourCut(), exprLog::generateCuts(), exprInv::generateCuts(), exprExp::generateCuts(), negPowSelectBranch(), exprPow::selectBranch(), exprLog::selectBranch(), and exprExp::selectBranch().
CouNumber powNewton | ( | CouNumber | xc, | |
CouNumber | yc, | |||
funtriplet * | tri | |||
) |
find proper tangent point to add deepest tangent cut
Definition at line 73 of file powNewton.cpp.
References COU_POW_TOLERANCE, k, and MAX_ITER.