fit_vfunct_fptr Class Template Reference

#include <fit_base.h>

Inheritance diagram for fit_vfunct_fptr:

fit_vfunct

Detailed Description

template<class param_t, size_t nvar>
class fit_vfunct_fptr< param_t, nvar >

Function pointer fitting function.

Definition at line 180 of file fit_base.h.


Public Member Functions

 fit_vfunct_fptr (int(*fp)(size_t np, double p[], double x, double &y, param_t &pa))
 Specify a fitting function by a function pointer.
virtual ~fit_vfunct_fptr ()
virtual int operator() (size_t np, double p[], double x, double &y, param_t &pa)
 Using parameters in p, predict y given x.

Protected Member Functions

 fit_vfunct_fptr ()

Protected Attributes

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

Private Member Functions

 fit_vfunct_fptr (const fit_vfunct_fptr &)
fit_vfunct_fptroperator= (const fit_vfunct_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.