String fitting function. More...
Default template arguments
vec_t
- boost::numeric::ublas::vector < double > Definition at line 51 of file fit_base.h.
#include <fit_base.h>
Public Member Functions | |
fit_funct11_strings (std::string formula, std::string parms, std::string var, int nauxp=0, std::string auxp="") | |
Specify a fitting function through a string. | |
int | set_aux_parms (vec_t &ap) |
Set the values of the auxilliary parameters that were specified in auxp in the constructor. | |
virtual double | operator() (size_t np, const vec_t &p, double x) |
Using parameters in p , predict y given x . | |
Protected Member Functions | |
int | set_function (std::string formula, std::string parms, std::string var, int nauxp=0, std::string auxp="") |
Specify the strings which define the fitting function. | |
Protected Attributes | |
FunctionParser | fpw |
The function evaluation object. | |
std::string | st_form |
The formula. | |
std::string | st_parms |
The parameters. | |
std::string | st_var |
The variables. | |
The auxillary parameters | |
int | naux |
double * | aux |
std::string | st_auxp |
Private Member Functions | |
fit_funct11_strings (const fit_funct11_strings &) | |
fit_funct11_strings & | operator= (const fit_funct11_strings &) |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).
Hosted at
.