Class ode_funct_strings (o2scl)¶
-
class
o2scl
::
ode_funct_strings
¶ One-dimensional function from strings.
Public Functions
-
template<class
vec_string_t
= std::vector<std::string>>ode_funct_strings
(size_t nv, vec_string_t &exprs, vec_string_t &funcs, std::string var)¶ Specify the string and the parameters.
-
~ode_funct_strings
()¶
-
template<class
vec_string_t
= std::vector<std::string>>
voidset_function
(size_t nv, vec_string_t &exprs, vec_string_t &funcs, std::string var)¶ Specify the string and the parameters.
-
int
set_parm
(std::string name, double val)¶ Set the values of the auxilliary parameters that were specified in ‘parms’ in the constructor.
-
template<class
vec_y_t
= boost::numeric::ublas::vector<double>, classvec_dydx_t
= vec_y_t>
intoperator()
(double x, size_t nv, const vec_y_t &y, vec_dydx_t &dydx)¶
Protected Functions
-
ode_funct_strings
()¶
Protected Attributes
-
std::vector<calculator>
calc
¶ The function parser.
-
std::map<std::string, double>
vars
¶ List of variables and values.
-
size_t
st_nv
¶ The number of variables.
-
std::vector<std::string>
st_forms
¶ The expressions.
-
std::string
st_var
¶ The variables.
-
std::vector<std::string>
st_funcs
¶ The function names.
Private Functions
-
ode_funct_strings
(const ode_funct_strings&)¶
-
ode_funct_strings &
operator=
(const ode_funct_strings&)¶
-
template<class