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

Member function pointer to an array of multi-dimensional functions.

#include <mm_funct.h>

Inheritance diagram for mm_funct_mfptr_param< tclass, param_t, vec_t >:
mm_funct< vec_t >

Detailed Description

template<class tclass, class param_t, class vec_t = ovector_base>
class mm_funct_mfptr_param< tclass, param_t, vec_t >

Definition at line 233 of file mm_funct.h.

Public Member Functions

 mm_funct_mfptr_param ()
 Empty constructor.
 mm_funct_mfptr_param (tclass *tp, int(tclass::*fp)(size_t nv, const vec_t &x, vec_t &y, param_t &), param_t &pa)
 Specify the member function pointer.
int set_function (tclass *tp, int(tclass::*fp)(size_t nv, const vec_t &x, vec_t &y, param_t &), param_t &pa)
 Specify the member function pointer.
virtual int operator() (size_t nv, const vec_t &x, vec_t &y)
 Compute nv functions, y, of nv variables stored in x with parameter pa.

Protected Attributes

int(tclass::* fptr )(size_t nv, const vec_t &x, vec_t &y, param_t &pa)
 The member function pointer.
tclass * tptr
 The class pointer.
param_t * pp
 Parameter.

Private Member Functions

 mm_funct_mfptr_param (const mm_funct_mfptr_param &)
mm_funct_mfptr_paramoperator= (const mm_funct_mfptr_param &)

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.