GSLMultiRootDerivSolver, internal class for implementing GSL multi-root finders using derivatives.
Definition at line 268 of file GSLMultiRootSolver.h.
Public Member Functions | |
GSLMultiRootDerivSolver (const gsl_multiroot_fdfsolver_type *type, int n) | |
Constructor. | |
virtual | ~GSLMultiRootDerivSolver () |
Destructor (no operations) | |
void | CreateSolver (const gsl_multiroot_fdfsolver_type *type, unsigned int n) |
create the solver from the type and size of number of fitting points and number of parameters | |
virtual gsl_vector * | GetDx () const |
return function steps | |
virtual gsl_vector * | GetF () const |
return function values | |
virtual gsl_vector * | GetRoot () const |
solution values at the current iteration | |
virtual int | Iterate () |
perform an iteration | |
virtual const std::string & | Name () const |
return name | |
virtual int | SetSolver (const std::vector< ROOT::Math::IMultiGenFunction * > &funcVec, const double *x) |
set the solver parameters for the case of derivative | |
Public Member Functions inherited from ROOT::Math::GSLMultiRootBaseSolver | |
virtual | ~GSLMultiRootBaseSolver () |
virtual Destructor | |
const double * | Dx () const |
return function steps | |
const double * | FVal () const |
return function values | |
bool | InitSolver (const std::vector< ROOT::Math::IMultiGenFunction * > &funcVec, const double *x) |
init the solver with function list and initial values | |
int | TestDelta (double absTol, double relTol) const |
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component | |
int | TestResidual (double absTol) const |
test using abs tolerance Sum |f|_i < absTol | |
const double * | X () const |
solution values at the current iteration | |
Private Member Functions | |
GSLMultiRootDerivSolver (const GSLMultiRootDerivSolver &) | |
Copy constructor. | |
GSLMultiRootDerivSolver & | operator= (const GSLMultiRootDerivSolver &rhs) |
Assignment operator. | |
Private Attributes | |
GSLMultiRootDerivFunctionWrapper | fDerivFunctions |
gsl_multiroot_fdfsolver * | fDerivSolver |
std::vector< ROOT::Math::IMultiGradFunction * > | fGradFuncVec |
std::string | fName |
gsl_vector * | fVec |
|
inline |
Constructor.
Definition at line 275 of file GSLMultiRootSolver.h.
|
inlinevirtual |
Destructor (no operations)
Definition at line 286 of file GSLMultiRootSolver.h.
|
inlineprivate |
Copy constructor.
Definition at line 297 of file GSLMultiRootSolver.h.
|
inline |
create the solver from the type and size of number of fitting points and number of parameters
Definition at line 312 of file GSLMultiRootSolver.h.
|
inlinevirtual |
return function steps
Implements ROOT::Math::GSLMultiRootBaseSolver.
Definition at line 370 of file GSLMultiRootSolver.h.
|
inlinevirtual |
return function values
Implements ROOT::Math::GSLMultiRootBaseSolver.
Definition at line 364 of file GSLMultiRootSolver.h.
|
inlinevirtual |
solution values at the current iteration
Implements ROOT::Math::GSLMultiRootBaseSolver.
Definition at line 358 of file GSLMultiRootSolver.h.
|
inlinevirtual |
perform an iteration
Implements ROOT::Math::GSLMultiRootBaseSolver.
Definition at line 352 of file GSLMultiRootSolver.h.
|
inlinevirtual |
return name
Implements ROOT::Math::GSLMultiRootBaseSolver.
Definition at line 348 of file GSLMultiRootSolver.h.
|
inlineprivate |
Assignment operator.
Definition at line 302 of file GSLMultiRootSolver.h.
|
inlinevirtual |
set the solver parameters for the case of derivative
Implements ROOT::Math::GSLMultiRootBaseSolver.
Definition at line 323 of file GSLMultiRootSolver.h.
|
private |
Definition at line 379 of file GSLMultiRootSolver.h.
|
private |
Definition at line 380 of file GSLMultiRootSolver.h.
|
private |
Definition at line 383 of file GSLMultiRootSolver.h.
|
private |
Definition at line 384 of file GSLMultiRootSolver.h.
|
mutableprivate |
Definition at line 382 of file GSLMultiRootSolver.h.