Class nucmass_fit_base (o2scl)

O2scl : Class List

class nucmass_fit_base : public o2scl::nucmass

Fittable mass formula [abstract base].

Nuclear mass formulas which are descendants of this class can be fit to experiment using nucmass_fit.

This class has children, nucmass_frdm, nucmass_semi_empirical, and nucmass_ldrop.

Subclassed by o2scl::nucmass_dvi, o2scl::nucmass_dz_fit, o2scl::nucmass_dz_fit_33, o2scl::nucmass_frdm, o2scl::nucmass_ldrop, o2scl::nucmass_semi_empirical

Public Types

typedef boost::numeric::ublas::vector<double> ubvector

Public Functions

inline virtual const char *type()

Return the type, "nucmass_fit_base".

virtual int fit_fun(size_t nv, const ubvector &x) = 0

Fix parameters from an array for fitting [abstract].

virtual int guess_fun(size_t nv, ubvector &x) = 0

Fill array with guess from present values for fitting [abstract].

Public Members

size_t nfit

Number of fitting parameters.