Class multi_funct_strings (o2scl)¶
-
class
o2scl
::
multi_funct_strings
¶ A multi-dimensional function from a string.
Public Functions
-
template<class
vec_string_t
= std::vector<std::string>>multi_funct_strings
(std::string expr, int nv, vec_string_t &var_arr)¶ Specify the string and the parameters.
-
template<class
vec_string_t
= std::vector<std::string>>
voidset_function
(std::string expr, int nv, vec_string_t &var_arr)¶ Specify the string and the parameters.
-
~multi_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.
Protected Functions
-
multi_funct_strings
()¶
Protected Attributes
-
calculator
calc
¶ The function parser.
-
std::map<std::string, double>
vars
¶ External variables to include in the function parsing.
-
int
st_nv
¶ The number of variables.
-
std::string
st_funct
¶ The function string.
-
std::vector<std::string>
st_vars
¶ The variable string.
Private Functions
-
multi_funct_strings
(const multi_funct_strings&)¶
-
multi_funct_strings &
operator=
(const multi_funct_strings&)¶
-
template<class