Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes | Private Member Functions
ool_hfunct_mfptr< tclass, vec_t > Class Template Reference

A hessian product supplied by a member function pointer.

#include <ool_constr_mmin.h>

Inheritance diagram for ool_hfunct_mfptr< tclass, vec_t >:
ool_hfunct< vec_t >

Detailed Description

template<class tclass, class vec_t = ovector_base>
class ool_hfunct_mfptr< tclass, vec_t >

Definition at line 132 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))
 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)
 Evaluate $ H(x) \cdot v $.

Protected Attributes

int(tclass::* fptr )(size_t nv, const vec_t &x, const vec_t &v, vec_t &hv)
 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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.