Public Member Functions | Private Member Functions | List of all members
o2scl::gen_fit_funct< vec_t, mat_t > Class Template Referenceabstract

Generalized fitting function [abstract base]. More...

#include <fit_base.h>

Inheritance diagram for o2scl::gen_fit_funct< vec_t, mat_t >:
o2scl::chi_fit_funct< vec_t, mat_t, fit_func_t > o2scl::fit_fix_pars< bool_vec_t, func_t, vec_t, mat_t >

Public Member Functions

virtual void operator() (size_t np, const vec_t &p, size_t nd, vec_t &f)=0
 Using parameters in p, compute the relative deviations in f.
 
virtual void jac (size_t np, vec_t &p, size_t nd, vec_t &f, mat_t &J)=0
 Using parameters in p, compute the Jacobian in J.
 
virtual size_t get_ndata ()=0
 Return the number of data points.
 

Private Member Functions

 gen_fit_funct (const gen_fit_funct &)
 
gen_fit_functoperator= (const gen_fit_funct &)
 

Detailed Description

template<class vec_t = boost::numeric::ublas::vector<double>, class mat_t = boost::numeric::ublas::matrix<double>>
class o2scl::gen_fit_funct< vec_t, mat_t >

Default template arguments

Definition at line 135 of file fit_base.h.


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

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).