ool_hfunct_fptr Class Template Reference

A hessian product supplied by a function pointer.

#include <ool_constr_mmin.h>

Inheritance diagram for ool_hfunct_fptr:

ool_hfunct

Detailed Description

template<class param_t, class vec_t = ovector_base>
class ool_hfunct_fptr< param_t, vec_t >

Definition at line 89 of file ool_constr_mmin.h.


Public Member Functions

 ool_hfunct_fptr (int(*fp)(size_t nv, const vec_t &x, const vec_t &v, vec_t &hv, param_t &pa))
 Specify the 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(* fptr )(size_t nv, const vec_t &x, const vec_t &v, vec_t &hv, param_t &pa)
 Store the function pointer.

Private Member Functions

 ool_hfunct_fptr (const ool_hfunct_fptr &)
ool_hfunct_fptroperator= (const ool_hfunct_fptr &)

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