Class mmin_conp (o2scl)¶
-
template<class func_t = multi_funct, class vec_t = boost::numeric::ublas::vector<double>, class dfunc_t = grad_funct, class auto_grad_t = gradient<multi_funct, boost::numeric::ublas::vector<double>>, class def_auto_grad_t = gradient_gsl<multi_funct, boost::numeric::ublas::vector<double>>>
class mmin_conp : public o2scl::mmin_conf<multi_funct, boost::numeric::ublas::vector<double>, grad_funct, gradient<multi_funct, boost::numeric::ublas::vector<double>>, gradient_gsl<multi_funct, boost::numeric::ublas::vector<double>>>¶ Multidimensional minimization by the Polak-Ribiere conjugate gradient algorithm (GSL)
The functions mmin() and mmin_de() min a given function until the gradient is smaller than the value of mmin::tol_rel (which defaults to \( 10^{-4} \) ).
See an example for the usage of this class in Multidimensional minimizer example.
Public Functions
-
inline mmin_conp()¶
-
inline virtual int iterate()¶
Perform an iteration.
-
inline virtual const char *type()¶
Return string denoting type(“mmin_conp”)
Private Functions
-
mmin_conp(const mmin_conp<func_t, vec_t, dfunc_t, auto_grad_t, def_auto_grad_t>&)¶
-
mmin_conp<func_t, vec_t, dfunc_t, auto_grad_t, def_auto_grad_t> &operator=(const mmin_conp<func_t, vec_t, dfunc_t, auto_grad_t, def_auto_grad_t>&)¶
-
inline mmin_conp()¶