![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Function pointer fitting function.
#include <fit_base.h>
Definition at line 58 of file fit_base.h.
Public Member Functions | |
fit_funct_fptr (double(*fp)(size_t np, const vec_t &p, double x)) | |
Specify a fitting function by a function pointer. | |
virtual double | operator() (size_t np, const vec_t &p, double x) |
Using parameters in p , predict y given x . | |
Protected Member Functions | |
fit_funct_fptr (const fit_funct_fptr &) | |
fit_funct_fptr & | operator= (const fit_funct_fptr &) |
Protected Attributes | |
double(* | fptr )(size_t np, const vec_t &p, double x) |
Storage for the user-specified function pointer. |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).