Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Math::GSLMultiFit Class Reference

GSLMultiFit, internal class for implementing GSL non linear least square GSL fitting.

Definition at line 52 of file GSLMultiFit.h.

Public Member Functions

 GSLMultiFit (const gsl_multifit_fdfsolver_type *type=0)
 Default constructor No need to specify the type so far since only one solver exists so far. More...
 
 ~GSLMultiFit ()
 Destructor (no operations) More...
 
const double * CovarMatrix () const
 return covariance matrix of the parameters More...
 
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 More...
 
double Edm () const
 
const double * Gradient () const
 gradient value at the minimum More...
 
int Iterate ()
 
std::string Name () const
 
template<class Func >
int Set (const std::vector< Func > &funcVec, const double *x)
 set the solver parameters More...
 
int TestDelta (double absTol, double relTol) const
 test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component More...
 
int TestGradient (double absTol) const
 test gradient (ask from solver gradient vector) More...
 
const double * X () const
 parameter values at the minimum More...
 

Private Member Functions

 GSLMultiFit (const GSLMultiFit &)
 Copy constructor. More...
 
GSLMultiFitoperator= (const GSLMultiFit &rhs)
 Assignment operator. More...
 

Private Attributes

gsl_matrix * fCov
 
GSLMultiFitFunctionWrapper fFunc
 
gsl_multifit_fdfsolver * fSolver
 
gsl_vector * fTmp
 
const gsl_multifit_fdfsolver_type * fType
 
gsl_vector * fVec
 

#include </mnt/build/workspace/root-makedoc-v610/rootspi/rdoc/src/v6-10-00-patches/math/mathmore/src/GSLMultiFit.h>

Constructor & Destructor Documentation

◆ GSLMultiFit() [1/2]

ROOT::Math::GSLMultiFit::GSLMultiFit ( const gsl_multifit_fdfsolver_type *  type = 0)
inline

Default constructor No need to specify the type so far since only one solver exists so far.

Definition at line 60 of file GSLMultiFit.h.

◆ ~GSLMultiFit()

ROOT::Math::GSLMultiFit::~GSLMultiFit ( )
inline

Destructor (no operations)

Definition at line 76 of file GSLMultiFit.h.

◆ GSLMultiFit() [2/2]

ROOT::Math::GSLMultiFit::GSLMultiFit ( const GSLMultiFit )
inlineprivate

Copy constructor.

Definition at line 92 of file GSLMultiFit.h.

Member Function Documentation

◆ CovarMatrix()

const double* ROOT::Math::GSLMultiFit::CovarMatrix ( ) const
inline

return covariance matrix of the parameters

Definition at line 181 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 106 of file GSLMultiFit.h.

◆ Edm()

double ROOT::Math::GSLMultiFit::Edm ( ) const
inline

Definition at line 209 of file GSLMultiFit.h.

◆ Gradient()

const double* ROOT::Math::GSLMultiFit::Gradient ( ) const
inline

gradient value at the minimum

Definition at line 170 of file GSLMultiFit.h.

◆ Iterate()

int ROOT::Math::GSLMultiFit::Iterate ( )
inline

Definition at line 157 of file GSLMultiFit.h.

◆ Name()

std::string ROOT::Math::GSLMultiFit::Name ( ) const
inline

Definition at line 152 of file GSLMultiFit.h.

◆ operator=()

GSLMultiFit& ROOT::Math::GSLMultiFit::operator= ( const GSLMultiFit rhs)
inlineprivate

Assignment operator.

Definition at line 97 of file GSLMultiFit.h.

◆ Set()

template<class Func >
int ROOT::Math::GSLMultiFit::Set ( const std::vector< Func > &  funcVec,
const double *  x 
)
inline

set the solver parameters

Definition at line 123 of file GSLMultiFit.h.

◆ 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 203 of file GSLMultiFit.h.

◆ TestGradient()

int ROOT::Math::GSLMultiFit::TestGradient ( double  absTol) const
inline

test gradient (ask from solver gradient vector)

Definition at line 195 of file GSLMultiFit.h.

◆ X()

const double* ROOT::Math::GSLMultiFit::X ( ) const
inline

parameter values at the minimum

Definition at line 163 of file GSLMultiFit.h.

Member Data Documentation

◆ fCov

gsl_matrix* ROOT::Math::GSLMultiFit::fCov
mutableprivate

Definition at line 233 of file GSLMultiFit.h.

◆ fFunc

GSLMultiFitFunctionWrapper ROOT::Math::GSLMultiFit::fFunc
private

Definition at line 228 of file GSLMultiFit.h.

◆ fSolver

gsl_multifit_fdfsolver* ROOT::Math::GSLMultiFit::fSolver
private

Definition at line 229 of file GSLMultiFit.h.

◆ fTmp

gsl_vector* ROOT::Math::GSLMultiFit::fTmp
mutableprivate

Definition at line 232 of file GSLMultiFit.h.

◆ fType

const gsl_multifit_fdfsolver_type* ROOT::Math::GSLMultiFit::fType
private

Definition at line 237 of file GSLMultiFit.h.

◆ fVec

gsl_vector* ROOT::Math::GSLMultiFit::fVec
mutableprivate

Definition at line 231 of file GSLMultiFit.h.


The documentation for this class was generated from the following file: