Class multi_funct_strings (o2scl)¶
-
class multi_funct_strings¶
A multi-dimensional function from a string.
Public Functions
-
template<class vec_string_t = std::vector<std::string>>
inline 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>>
inline void set_function(std::string expr, int nv, vec_string_t &var_arr)¶ Specify the string and the parameters.
-
inline virtual ~multi_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.
Protected Functions
-
inline multi_funct_strings()¶
Protected Attributes
-
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 vec_string_t = std::vector<std::string>>