ool_hvfunct_mfptr Class Template Reference

A hessian product supplied by a member function pointer using arrays. More...

#include <ool_constr_mmin.h>

Inheritance diagram for ool_hvfunct_mfptr:

ool_hvfunct

Detailed Description

template<class tclass, class param_t, size_t nvar>
class ool_hvfunct_mfptr< tclass, param_t, nvar >

A hessian product supplied by a member function pointer using arrays.

Definition at line 262 of file ool_constr_mmin.h.


Public Member Functions

 ool_hvfunct_mfptr (tclass *tp, int(tclass::*fp)(size_t nv, const double x[nvar], const double v[nvar], double hv[nvar], param_t &pa))
 Specify the member function pointer.
virtual int operator() (size_t nv, const double x[nvar], const double v[nvar], double hv[nvar], param_t &pa)
 Evaluate $ H(x) \cdot v $.

Protected Attributes

int(tclass::* fptr )(size_t nv, const double x[nvar], const double v[nvar], double hv[nvar], param_t &pa)
 Store the function pointer.
tclass * tptr
 Store a pointer to the class instance.

Private Member Functions

 ool_hvfunct_mfptr (const ool_hvfunct_mfptr &)
ool_hvfunct_mfptroperator= (const ool_hvfunct_mfptr &)

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