fit_vfunct_fptr Class Template Reference

Function pointer fitting function with arrays.

#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 >

Definition at line 220 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 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(* 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.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page