GSLMultiFit, internal class for implementing GSL non linear least square GSL fitting.
Definition at line 53 of file GSLMultiFit.h.
|
| 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
|
|
#include </home/sftnight/build/workspace/root-makedoc-v630/rootspi/rdoc/src/v6-30-00-patches/math/mathmore/src/GSLMultiFit.h>
◆ GSLMultiFit() [1/2]
ROOT::Math::GSLMultiFit::GSLMultiFit |
( |
const gsl_multifit_fdfsolver_type * |
type = nullptr | ) |
|
|
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.
◆ ~GSLMultiFit()
ROOT::Math::GSLMultiFit::~GSLMultiFit |
( |
| ) |
|
|
inline |
◆ GSLMultiFit() [2/2]
ROOT::Math::GSLMultiFit::GSLMultiFit |
( |
const GSLMultiFit & |
| ) |
|
|
inlineprivate |
◆ CovarMatrix()
const double * ROOT::Math::GSLMultiFit::CovarMatrix |
( |
| ) |
const |
|
inline |
return covariance matrix of the parameters
Definition at line 182 of file GSLMultiFit.h.
◆ CreateSolver()
void ROOT::Math::GSLMultiFit::CreateSolver |
( |
unsigned int |
npoints, |
|
|
unsigned int |
npar |
|
) |
| |
|
inline |
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.
◆ Edm()
double ROOT::Math::GSLMultiFit::Edm |
( |
| ) |
const |
|
inline |
◆ Gradient()
const double * ROOT::Math::GSLMultiFit::Gradient |
( |
| ) |
const |
|
inline |
◆ Iterate()
int ROOT::Math::GSLMultiFit::Iterate |
( |
| ) |
|
|
inline |
◆ Name()
std::string ROOT::Math::GSLMultiFit::Name |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ Set()
template<class Func >
int ROOT::Math::GSLMultiFit::Set |
( |
const std::vector< Func > & |
funcVec, |
|
|
const double * |
x |
|
) |
| |
|
inline |
◆ TestDelta()
int ROOT::Math::GSLMultiFit::TestDelta |
( |
double |
absTol, |
|
|
double |
relTol |
|
) |
| const |
|
inline |
test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component
Definition at line 204 of file GSLMultiFit.h.
◆ TestGradient()
int ROOT::Math::GSLMultiFit::TestGradient |
( |
double |
absTol | ) |
const |
|
inline |
test gradient (ask from solver gradient vector)
Definition at line 196 of file GSLMultiFit.h.
◆ X()
const double * ROOT::Math::GSLMultiFit::X |
( |
| ) |
const |
|
inline |
◆ fCov
gsl_matrix* ROOT::Math::GSLMultiFit::fCov |
|
mutableprivate |
◆ fFunc
◆ fSolver
gsl_multifit_fdfsolver* ROOT::Math::GSLMultiFit::fSolver |
|
private |
◆ fTmp
gsl_vector* ROOT::Math::GSLMultiFit::fTmp |
|
mutableprivate |
◆ fType
const gsl_multifit_fdfsolver_type* ROOT::Math::GSLMultiFit::fType |
|
private |
◆ fVec
gsl_vector* ROOT::Math::GSLMultiFit::fVec |
|
mutableprivate |
math/mathmore/src/GSLMultiFit.h