Array of multi-dimensional functions in an array of strings. More...
#include <mm_funct.h>
Definition at line 47 of file mm_funct.h.
Public Member 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. | |
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>> | |
int | operator() (size_t nv, const vec_t &x, vec_t &y) |
Compute nv functions, y , of nv variables stored in x with parameter pa . | |
template<class vec_string_t = std::vector<std::string>> | |
void | set_function (int nv, vec_string_t &exprs, vec_string_t &var_arr) |
Set the functions. | |
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 Member Functions | |
mm_funct_strings (const mm_funct_strings &) | |
mm_funct_strings & | operator= (const mm_funct_strings &) |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).