![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Multidimensional fitting fixing some parameters and varying others.
#include <fit_fix.h>
Public Member Functions | |
fit_fix_pars () | |
Specify the member function pointer. | |
virtual int | fit (size_t ndat, ovector_base &xdat, ovector_base &ydat, ovector_base &yerr, size_t npar, ovector_base &par, omatrix_base &covar, double &chi2, fit_funct<> &fitfun) |
Fit the data specified in (xdat,ydat) to the function fitfun with the parameters in par . | |
virtual int | fit_fix (size_t ndat, ovector_base &xdat, ovector_base &ydat, ovector_base &yerr, size_t npar, ovector_base &par, bool_vec_t &fix, omatrix_base &covar, double &chi2, fit_funct<> &fitfun) |
Fit function func while fixing some parameters as specified in fix . | |
int | set_fit (fit_base< fit_funct_mfptr< fit_fix_pars< bool_vec_t > > > &fitter) |
Change the base minimizer. | |
Data Fields | |
gsl_fit< fit_funct_mfptr < fit_fix_pars< bool_vec_t > > > | def_fit |
The default base minimizer. | |
Protected Member Functions | |
virtual double | fit_func (size_t nv, const ovector_base &x, double xx) |
The new function to send to the minimizer. | |
Protected Attributes | |
fit_base< fit_funct_mfptr < fit_fix_pars< bool_vec_t > > > * | fitp |
The minimizer. | |
fit_funct * | funcp |
The user-specified function. | |
size_t | unv |
The user-specified number of variables. | |
size_t | nv_new |
The new number of variables. | |
bool_vec_t * | fixp |
Specify which parameters to fix. | |
ovector_base * | xp |
The user-specified initial vector. | |
Private Member Functions | |
fit_fix_pars (const fit_fix_pars &) | |
fit_fix_pars & | operator= (const fit_fix_pars &) |
virtual int fit_fix_pars< bool_vec_t >::fit | ( | size_t | ndat, |
ovector_base & | xdat, | ||
ovector_base & | ydat, | ||
ovector_base & | yerr, | ||
size_t | npar, | ||
ovector_base & | par, | ||
omatrix_base & | covar, | ||
double & | chi2, | ||
fit_funct<> & | fitfun | ||
) | [inline, virtual] |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).