Class mm_funct_strings (o2scl)¶
-
class mm_funct_strings¶
Array of multi-dimensional functions in an array of strings.
Public Functions
-
template<class vec_string_t = std::vector<std::string>>
inline mm_funct_strings(int nv, vec_string_t &exprs, vec_string_t &var_arr)¶ Specify the strings.
-
inline virtual ~mm_funct_strings()¶
-
inline 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>>
inline int operator()(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>>
inline void set_function(int nv, vec_string_t &exprs, vec_string_t &var_arr)¶ Set the functions.
Protected Functions
-
inline mm_funct_strings()¶
Protected Attributes
-
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 vec_string_t = std::vector<std::string>>