Public Member Functions | Protected Attributes | Private Member Functions | List of all members
o2scl::mm_funct11_strings Class Reference

Array of multi-dimensional functions in an array of strings. More...

#include <mm_funct.h>

Public Member Functions

template<class vec_string_t = std::vector<std::string>>
 mm_funct11_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< calculatorcalc
 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_funct11_strings (const mm_funct11_strings &)
mm_funct11_stringsoperator= (const mm_funct11_strings &)

Detailed Description

Definition at line 47 of file mm_funct.h.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).