ool_hfunct_mfptr Class Template Reference

#include <ool_constr_mmin.h>

Inheritance diagram for ool_hfunct_mfptr:

ool_hfunct

Detailed Description

template<class tclass, class param_t, class vec_t = ovector_view>
class ool_hfunct_mfptr< tclass, param_t, vec_t >

A hessian product supplied by a member function pointer.

Definition at line 118 of file ool_constr_mmin.h.


Public Member Functions

 ool_hfunct_mfptr (tclass *tp, int(tclass::*fp)(size_t nv, const vec_t &x, const vec_t &v, vec_t &hv, param_t &pa))
 Specify the class instance and member function pointer.
virtual int operator() (size_t nv, const vec_t &x, const vec_t &v, vec_t &hv, param_t &pa)
 Evaluate $ H(x) \cdot v $.

Protected Attributes

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

Private Member Functions

 ool_hfunct_mfptr (const ool_hfunct_mfptr &)
ool_hfunct_mfptroperator= (const ool_hfunct_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