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

A hessian product supplied by a function pointer.

#include <ool_constr_mmin.h>

Inheritance diagram for ool_hfunct_fptr< vec_t >:
ool_hfunct< vec_t >

Detailed Description

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

Definition at line 87 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))
 Specify the 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(* fptr )(size_t nv, const vec_t &x, const vec_t &v, vec_t &hv)
 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:
 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.