39#define DefaultTolerance 5.0e-14
48 a(0.0), b(0.0), root(0.0) {};
51 MaxIter(iterations), tolerance(tol),
52 a(0.0), b(0.0), root(0.0) {};
110#include "G4Solver.icc"
G4Solver(const G4int iterations, const G4double tol)
G4bool RegulaFalsi(Function &theFunction)
G4double GetIntervalUpperLimit(void) const
G4bool operator!=(const G4Solver &right) const
G4bool Brent(Function &theFunction)
void SetIntervalLimits(const G4double Limit1, const G4double Limit2)
G4Solver & operator=(const G4Solver &right)
G4double GetRoot(void) const
G4double GetTolerance(void) const
G4bool operator==(const G4Solver &right) const
G4int GetMaxIterations(void) const
G4bool Crenshaw(Function &theFunction)
G4bool Bisection(Function &theFunction)
void SetTolerance(const G4double epsilon)
G4double GetIntervalLowerLimit(void) const
void SetMaxIterations(const G4int iterations)