grad_funct_fptr Class Template Reference

Function pointer to a gradient. More...

#include <multi_min.h>

Inheritance diagram for grad_funct_fptr:

grad_funct

Detailed Description

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

Default template arguments

Definition at line 61 of file multi_min.h.


Public Member Functions

 grad_funct_fptr (int(*fp)(size_t nv, vec_t &x, vec_t &g, param_t &pa))
 Specify the function pointer.
virtual int operator() (size_t nv, vec_t &x, vec_t &g, param_t &pa)
 Compute the gradient g at the point x.

Protected Attributes

int(* fptr )(size_t nv, vec_t &x, vec_t &g, param_t &pa)
 The function pointer.

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