mm_funct_fptr Class Template Reference

Function pointer to array of multi-dimensional functions.

#include <mm_funct.h>

Inheritance diagram for mm_funct_fptr:

mm_funct

Detailed Description

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

Definition at line 77 of file mm_funct.h.


Public Member Functions

 mm_funct_fptr (int(*fp)(size_t nv, const vec_t &x, vec_t &y, param_t &pa))
 Specify the function pointer.
int set_function (int(*fp)(size_t nv, const vec_t &x, vec_t &y, param_t &pa))
 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 )(size_t nv, const vec_t &x, vec_t &y, param_t &pa)
 The function pointer to the user-supplied function.

Private Member Functions

 mm_funct_fptr (const mm_funct_fptr &)
mm_funct_fptroperator= (const mm_funct_fptr &)

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