gsl_mmin_conp Class Template Reference

Multidimensional minimization by the Polak-Ribiere conjugate gradient algorithm (GSL). More...

#include <gsl_mmin_conp.h>

Inheritance diagram for gsl_mmin_conp:

gsl_mmin_conf gsl_mmin_base multi_min gsl_mmin_conp_array

Detailed Description

template<class param_t, class func_t = multi_funct<param_t>, class vec_t = ovector_base, class alloc_vec_t = ovector, class alloc_t = ovector_alloc, class dfunc_t = grad_funct<param_t,ovector_base>, class auto_grad_t = gradient<param_t,func_t,ovector_base>, class def_auto_grad_t = simple_grad<param_t,func_t,ovector_base>>
class gsl_mmin_conp< param_t, func_t, vec_t, alloc_vec_t, alloc_t, dfunc_t, auto_grad_t, def_auto_grad_t >

Multidimensional minimization by the Polak-Ribiere conjugate gradient algorithm (GSL).

The functions mmin() and mmin_de() minimize a given function until the gradientis smaller than the value of multi_min::tolf (which defaults to $ 10^{-4} $ ).

See an example for the usage of this class in Multidimensional minimizer example .

Idea for future:
A bit of needless copying is required in the function wrapper to convert from gsl_vector to the templated vector type. This can be fixed.

Definition at line 55 of file gsl_mmin_conp.h.


Public Member Functions

virtual int iterate ()
 Perform an iteration.
virtual const char * type ()
 Return string denoting type("gsl_mmin_conp").

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

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page