grad_vfunct_fptr Class Template Reference

#include <multi_min.h>

Inheritance diagram for grad_vfunct_fptr:

grad_vfunct

Detailed Description

template<class param_t, size_t nv>
class grad_vfunct_fptr< param_t, nv >

Function pointer to a gradient.

Definition at line 224 of file multi_min.h.


Public Member Functions

 grad_vfunct_fptr (int(*fp)(size_t nv, double x[nv], double g[nv], param_t &pa))
 Specify the member function pointer.
virtual int operator() (size_t nvar, double x[nv], double g[nv], param_t &pa)
 Compute the gradient g at the point x.

Protected Attributes

int(* fptr )(size_t nvar, double x[nv], double g[nv], param_t &pa)
 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