GSLMultiFit, internal class for implementing GSL non linear least square GSL fitting.
Definition at line 53 of file GSLMultiFit.h.
Public Member Functions | |
GSLMultiFit (const gsl_multifit_fdfsolver_type *type=nullptr) | |
Default constructor No need to specify the type so far since only one solver exists so far. | |
~GSLMultiFit () | |
Destructor (no operations) | |
const double * | CovarMatrix () const |
return covariance matrix of the parameters | |
void | CreateSolver (unsigned int npoints, unsigned int npar) |
create the minimizer from the type and size of number of fitting points and number of parameters | |
double | Edm () const |
const double * | Gradient () const |
gradient value at the minimum | |
int | Iterate () |
std::string | Name () const |
template<class Func > | |
int | Set (const std::vector< Func > &funcVec, const double *x) |
set the solver parameters | |
int | TestDelta (double absTol, double relTol) const |
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component | |
int | TestGradient (double absTol) const |
test gradient (ask from solver gradient vector) | |
const double * | X () const |
parameter values at the minimum | |
Private Member Functions | |
GSLMultiFit (const GSLMultiFit &) | |
Copy constructor. | |
GSLMultiFit & | operator= (const GSLMultiFit &rhs) |
Assignment operator. | |
Private Attributes | |
gsl_matrix * | fCov |
GSLMultiFitFunctionWrapper | fFunc |
gsl_multifit_fdfsolver * | fSolver |
gsl_vector * | fTmp |
const gsl_multifit_fdfsolver_type * | fType |
gsl_vector * | fVec |
#include </github/home/ROOT-CI/src/math/mathmore/src/GSLMultiFit.h>
|
inline |
Default constructor No need to specify the type so far since only one solver exists so far.
Definition at line 61 of file GSLMultiFit.h.
|
inline |
Destructor (no operations)
Definition at line 77 of file GSLMultiFit.h.
|
inlineprivate |
Copy constructor.
Definition at line 93 of file GSLMultiFit.h.
return covariance matrix of the parameters
Definition at line 182 of file GSLMultiFit.h.
create the minimizer from the type and size of number of fitting points and number of parameters
Definition at line 107 of file GSLMultiFit.h.
|
inline |
Definition at line 210 of file GSLMultiFit.h.
gradient value at the minimum
Definition at line 171 of file GSLMultiFit.h.
|
inline |
Definition at line 158 of file GSLMultiFit.h.
|
inline |
Definition at line 153 of file GSLMultiFit.h.
|
inlineprivate |
Assignment operator.
Definition at line 98 of file GSLMultiFit.h.
|
inline |
set the solver parameters
Definition at line 124 of file GSLMultiFit.h.
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component
Definition at line 204 of file GSLMultiFit.h.
test gradient (ask from solver gradient vector)
Definition at line 196 of file GSLMultiFit.h.
parameter values at the minimum
Definition at line 164 of file GSLMultiFit.h.
|
mutableprivate |
Definition at line 234 of file GSLMultiFit.h.
|
private |
Definition at line 229 of file GSLMultiFit.h.
|
private |
Definition at line 230 of file GSLMultiFit.h.
|
mutableprivate |
Definition at line 233 of file GSLMultiFit.h.
|
private |
Definition at line 238 of file GSLMultiFit.h.
|
mutableprivate |
Definition at line 232 of file GSLMultiFit.h.