Class gen_fit_funct (o2scl)¶
-
template<class
vec_t
= boost::numeric::ublas::vector<double>, classmat_t
= boost::numeric::ublas::matrix<double>>
classo2scl
::
gen_fit_funct
¶ Generalized fitting function [abstract base].
Default template arguments
vec_t
- boost::numeric::ublas::vector < double >mat_t
- boost::numeric::ublas::matrix < double >
Public Functions
-
gen_fit_funct
()¶
-
~gen_fit_funct
()¶
-
void
operator()
(size_t np, const vec_t &p, size_t nd, vec_t &f) = 0¶ Using parameters in
p
, compute the relative deviations inf
.
-
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 inJ
.
-
size_t
get_ndata
() = 0¶ Return the number of data points.
Private Functions
-
gen_fit_funct
(const gen_fit_funct&)¶
-
gen_fit_funct &
operator=
(const gen_fit_funct&)¶