Class fit_funct_strings (o2scl)¶
-
class
o2scl
::
fit_funct_strings
¶ String fitting function.
Default template arguments
vec_t
- boost::numeric::ublas::vector < double >
Public Functions
-
template<class
vec_string_t
= std::vector<std::string>>fit_funct_strings
(std::string expr, vec_string_t &parms, std::string var)¶ Specify a fitting function through a string.
-
int
set_aux_parm
(std::string name, double val)¶ Set the values of the auxilliary parameters that were specified in
auxp
in the constructor.
Protected Functions
-
fit_funct_strings
()¶
-
int
set_function
(std::string expr, std::string parms, std::string var, int nauxp = 0, std::string auxp = "")¶ Specify the strings which define the fitting function.
Protected Attributes
-
calculator
calc
¶ The function parser.
-
std::map<std::string, double>
vars
¶ Desc.
-
std::string
st_form
¶ The expression.
-
std::vector<std::string>
st_parms
¶ The parameters.
-
std::string
st_var
¶ The variable.
Private Functions
-
fit_funct_strings
(const fit_funct_strings&)¶
-
fit_funct_strings &
operator=
(const fit_funct_strings&)¶