GSLMultiRootBaseSolver, internal class for implementing GSL multi-root finders This is the base class for GSLMultiRootSolver (solver not using derivatives) and GSLMUltiRootDerivSolver (solver using derivatives)
Definition at line 57 of file GSLMultiRootSolver.h.
Public Member Functions | |
virtual | ~GSLMultiRootBaseSolver () |
virtual Destructor More... | |
const double * | Dx () const |
return function steps More... | |
const double * | FVal () const |
return function values More... | |
bool | InitSolver (const std::vector< ROOT::Math::IMultiGenFunction * > &funcVec, const double *x) |
init the solver with function list and initial values More... | |
virtual int | Iterate ()=0 |
perform an iteration More... | |
virtual const std::string & | Name () const =0 |
return name More... | |
int | TestDelta (double absTol, double relTol) const |
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component More... | |
int | TestResidual (double absTol) const |
test using abs tolerance Sum |f|_i < absTol More... | |
const double * | X () const |
solution values at the current iteration More... | |
Private Member Functions | |
virtual gsl_vector * | GetDx () const =0 |
virtual gsl_vector * | GetF () const =0 |
virtual gsl_vector * | GetRoot () const =0 |
virtual int | SetSolver (const std::vector< ROOT::Math::IMultiGenFunction * > &funcVec, const double *x)=0 |
|
inlinevirtual |
virtual Destructor
Definition at line 64 of file GSLMultiRootSolver.h.
|
inline |
return function steps
Definition at line 110 of file GSLMultiRootSolver.h.
|
inline |
return function values
Definition at line 104 of file GSLMultiRootSolver.h.
|
privatepure virtual |
Implemented in ROOT::Math::GSLMultiRootSolver, and ROOT::Math::GSLMultiRootDerivSolver.
|
privatepure virtual |
Implemented in ROOT::Math::GSLMultiRootSolver, and ROOT::Math::GSLMultiRootDerivSolver.
|
privatepure virtual |
Implemented in ROOT::Math::GSLMultiRootSolver, and ROOT::Math::GSLMultiRootDerivSolver.
|
inline |
init the solver with function list and initial values
Definition at line 71 of file GSLMultiRootSolver.h.
|
pure virtual |
perform an iteration
Implemented in ROOT::Math::GSLMultiRootSolver, and ROOT::Math::GSLMultiRootDerivSolver.
|
pure virtual |
return name
Implemented in ROOT::Math::GSLMultiRootSolver, and ROOT::Math::GSLMultiRootDerivSolver.
|
privatepure virtual |
Implemented in ROOT::Math::GSLMultiRootSolver, and ROOT::Math::GSLMultiRootDerivSolver.
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component
Definition at line 117 of file GSLMultiRootSolver.h.
test using abs tolerance Sum |f|_i < absTol
Definition at line 126 of file GSLMultiRootSolver.h.
|
inline |
solution values at the current iteration
Definition at line 98 of file GSLMultiRootSolver.h.