grad_vfunct_mfptr Class Template Reference

Member function pointer to a gradient. More...

#include <multi_min.h>

Inheritance diagram for grad_vfunct_mfptr:

grad_vfunct

Detailed Description

template<class tclass, class param_t, size_t nv>
class grad_vfunct_mfptr< tclass, param_t, nv >

Member function pointer to a gradient.

Definition at line 346 of file multi_min.h.


Public Member Functions

 grad_vfunct_mfptr (tclass *tp, int(tclass::*fp)(size_t nvar, double x[nv], double g[nv], param_t &pa))
 Specify the member function pointer.
virtual int operator() (size_t nvar, double x[nv], double g[nv], param_t &pa)
 Compute the gradient g at the point x.

Protected Attributes

int(tclass::* fptr )(size_t nvar, double x[nv], double g[nv], param_t &pa)
 Member function pointer.
tclass * tptr
 Class pointer.

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