Class mmin_wrap_gsl (o2scl)

O2scl : Class List

class mmin_wrap_gsl

Virtual base for the mmin_bfgs2 wrapper.

This class is useful so that the gsl_mmin_linmin class doesn’t need to depend on any template parameters, even though it will need a wrapping object as an argument for the gsl_mmin_linmin::min() function.

Subclassed by o2scl::mmin_wrapper_gsl< multi_funct, boost::numeric::ublas::vector< double >, grad_funct, gradient< multi_funct, boost::numeric::ublas::vector< double > > >, o2scl::mmin_wrapper_gsl< func_t, vec_t, dfunc_t, auto_grad_t >

Public Functions

inline virtual ~mmin_wrap_gsl()
virtual double wrap_f(double alpha) = 0

Function.

virtual double wrap_df(double alpha) = 0

Derivative.

virtual void wrap_fdf(double alpha, double *f, double *df) = 0

Function and derivative.