All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
o2scl::fit_funct11_strings< vec_t > Class Template Reference

String fitting function. More...

Detailed Description

template<class vec_t = boost::numeric::ublas::vector<double>>
class o2scl::fit_funct11_strings< vec_t >

Default template arguments

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_stringsoperator= (const fit_funct11_strings &)
 

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..