Linear least-squares fitting is performed by o2scl::fit_linear. Non-linear least-squares Fitting is performed by descendants of o2scl::fit_base and fitting functions can be specified using o2scl::fit_funct. The GSL fitting routines (scaled and unscaled) are implemented in o2scl::fit_nonlin. A generic fitting routine using a minimizer object specified as a child of o2scl::mmin_base is implemented in o2scl::fit_min. When the o2scl::mmin_base object is (for example) a o2scl::anneal_base object, o2scl::fit_min can avoid local minima which can occur when fitting noisy data.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).