mm_funct_gsl Class Template Reference

#include <mm_funct.h>

Inheritance diagram for mm_funct_gsl:

mm_funct

Detailed Description

template<class param_t, class vec_t = ovector_view>
class mm_funct_gsl< param_t, vec_t >

Function pointer to a gsl_multiroot_function.

This works because with the template parameter vec_t as an ovector_view class because ovector_view is inherited from gsl_vector.

Definition at line 181 of file mm_funct.h.


Public Member Functions

 mm_funct_gsl (int(*fp)(const gsl_vector *x, param_t &pa, gsl_vector *f))
 Specify the function pointer.
virtual int operator() (size_t nv, const vec_t &x, vec_t &y, param_t &pa)
 Compute nv functions, y, of nv variables stored in x with parameter pa.

Protected Attributes

int(* fptr )(const gsl_vector *x, param_t &pa, gsl_vector *f)
 The function pointer to the user-supplied function.

Private Member Functions

 mm_funct_gsl (const mm_funct_gsl &)
mm_funct_gsloperator= (const mm_funct_gsl &)

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