fit_funct_mfptr Class Template Reference

#include <fit_base.h>

Inheritance diagram for fit_funct_mfptr:

fit_funct

Detailed Description

template<class tclass, class param_t, class vec_t = ovector_view>
class fit_funct_mfptr< tclass, param_t, vec_t >

Member function pointer fitting function.

Definition at line 104 of file fit_base.h.


Public Member Functions

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

Protected Attributes

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

Private Member Functions

 fit_funct_mfptr (const fit_funct_mfptr &)
fit_funct_mfptroperator= (const fit_funct_mfptr &)

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