30 #define ROOTFIND_SUCCESS 0
38 #define ROOTFIND_SUCCESS_XCONVERGENCEONLY 1
40 #define ROOTFIND_FAILEDCONVERGENCE -1
42 #define ROOTFIND_BADINPUT -2
44 #define ROOTFIND_SOLNLOWERTHANXMIN -3
49 #define ROOTFIND_SOLNHIGHERTHANXMAX -4
216 bool theSame(doublereal x2, doublereal x1, doublereal factor = 1.0)
const;
243 int solve(doublereal xmin, doublereal xmax,
int itmax, doublereal& funcTargetValue, doublereal* xbest);
257 doublereal
func(doublereal x);
271 void setTol(doublereal rtolf, doublereal atolf, doublereal rtolx = 0.0, doublereal atolx = 0.0);
427 double deltaXConverged;
428 double deltaFConverged;
432 std::string reasoning;
451 deltaXConverged(-1.0E300),
452 deltaFConverged(-1.0E300),