fit_vfunct_cmfptr Class Template Reference

Const member function pointer fitting function with arrays. More...

#include <fit_base.h>

Inheritance diagram for fit_vfunct_cmfptr:

fit_vfunct

Detailed Description

template<class tclass, class param_t, size_t nvar>
class fit_vfunct_cmfptr< tclass, param_t, nvar >

Const member function pointer fitting function with arrays.

Definition at line 308 of file fit_base.h.


Public Member Functions

 fit_vfunct_cmfptr (tclass *tp, int(tclass::*fp)(size_t np, double p[], double x, double &y, param_t &pa) const)
 Specify the member function pointer.
virtual int operator() (size_t np, double p[], double x, double &y, param_t &pa)
 Using parameters in p, predict y given x.

Protected Attributes

int(tclass::* fptr )(size_t np, double p[], double x, double &y, param_t &pa) const
 Storage for the user-specified function pointer.
tclass * tptr
 Storage for the class pointer.

Private Member Functions

 fit_vfunct_cmfptr (const fit_vfunct_cmfptr &)
fit_vfunct_cmfptroperator= (const fit_vfunct_cmfptr &)

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