10 #ifndef NAEquationSolver_h 11 #define NAEquationSolver_h 1 15 #define DefaultTolerance 5.0e-14 17 template <
class Function>
36 fA(0.0), fB(0.0), fRoot(0.0) {};
39 fMaxIter(iterations), fTolerance(tol),
40 fA(0.0), fB(0.0), fRoot(0.0) {};
70 #include "GeneratorInterface/Hydjet2Interface/src/EquationSolver.icc" bool operator==(const NAEquationSolver &right) const
NAEquationSolver(const int iterations, const double tol)
void SetTolerance(const double epsilon)
void SetMaxIterations(const int iterations)
NAEquationSolver & operator=(const NAEquationSolver &right)
double GetRoot(void) const
int GetMaxIterations(void) const
bool Brent(Function &theFunction)
double GetIntervalLowerLimit(void) const
bool operator!=(const NAEquationSolver &right) const
double GetTolerance(void) const
void SetIntervalLimits(const double Limit1, const double Limit2)
double GetIntervalUpperLimit(void) const