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 (const GSLMultiFit &)=delete | |
GSLMultiFit (GSLMultiFit &&)=delete | |
~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 |
GSLMultiFit & | operator= (const GSLMultiFit &rhs)=delete |
GSLMultiFit & | operator= (GSLMultiFit &&rhs)=delete |
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 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.
|
delete |
|
delete |
return covariance matrix of the parameters
Definition at line 169 of file GSLMultiFit.h.
create the minimizer from the type and size of number of fitting points and number of parameters
Definition at line 94 of file GSLMultiFit.h.
|
inline |
Definition at line 197 of file GSLMultiFit.h.
gradient value at the minimum
Definition at line 158 of file GSLMultiFit.h.
|
inline |
Definition at line 146 of file GSLMultiFit.h.
|
inline |
Definition at line 141 of file GSLMultiFit.h.
|
delete |
|
delete |
|
inline |
set the solver parameters
Definition at line 111 of file GSLMultiFit.h.
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component
Definition at line 191 of file GSLMultiFit.h.
test gradient (ask from solver gradient vector)
Definition at line 183 of file GSLMultiFit.h.
parameter values at the minimum
Definition at line 152 of file GSLMultiFit.h.
|
mutableprivate |
Definition at line 221 of file GSLMultiFit.h.
|
private |
Definition at line 216 of file GSLMultiFit.h.
|
private |
Definition at line 217 of file GSLMultiFit.h.
|
mutableprivate |
Definition at line 220 of file GSLMultiFit.h.
|
private |
Definition at line 225 of file GSLMultiFit.h.
|
mutableprivate |
Definition at line 219 of file GSLMultiFit.h.