Class mm_funct_strings (o2scl)¶
-
class
o2scl
::
mm_funct_strings
¶ Array of multi-dimensional functions in an array of strings.
Public Functions
-
template<class
vec_string_t
= std::vector<std::string>>mm_funct_strings
(int nv, vec_string_t &exprs, vec_string_t &var_arr)¶ Specify the strings.
-
~mm_funct_strings
()¶
-
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_t
= boost::numeric::ublas::vector<double>>
intoperator()
(size_t nv, const vec_t &x, vec_t &y)¶ Compute
nv
functions,y
, ofnv
variables stored inx
with parameterpa
.
-
template<class
vec_string_t
= std::vector<std::string>>
voidset_function
(int nv, vec_string_t &exprs, vec_string_t &var_arr)¶ Set the functions.
Protected Functions
-
mm_funct_strings
()¶
Protected Attributes
-
std::vector<calculator>
calc
¶ The function parsers.
-
std::map<std::string, double>
vars
¶ External variables to include in the function parsing.
-
std::vector<std::string>
st_forms
¶ The expressions.
-
std::vector<std::string>
st_vars
¶ The variables.
-
int
st_nv
¶ The number of variables.
Private Functions
-
mm_funct_strings
(const mm_funct_strings&)¶
-
mm_funct_strings &
operator=
(const mm_funct_strings&)¶
-
template<class