One-dimensional function from strings. More...
#include <ode_funct.h>
Definition at line 51 of file ode_funct.h.
Public Member Functions | |
| template<class vec_string_t = std::vector<std::string>> | |
| ode_funct_strings (size_t nv, vec_string_t &exprs, vec_string_t &funcs, std::string var) | |
| Specify the string and the parameters. | |
| template<class vec_string_t = std::vector<std::string>> | |
| void | set_function (size_t nv, vec_string_t &exprs, vec_string_t &funcs, std::string var) |
| Specify the string and the parameters. | |
| 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_y_t = boost::numeric::ublas::vector<double>, class vec_dydx_t = vec_y_t> | |
| int | operator() (double x, size_t nv, const vec_y_t &y, vec_dydx_t &dydx) |
Protected Attributes | |
| std::vector< calculator > | calc |
| The function parser. | |
| std::map< std::string, double > | vars |
| List of variables and values. | |
| size_t | st_nv |
| The number of variables. | |
| std::vector< std::string > | st_forms |
| The expressions. | |
| std::string | st_var |
| The variables. | |
| std::vector< std::string > | st_funcs |
| The function names. | |
Private Member Functions | |
| ode_funct_strings (const ode_funct_strings &) | |
| ode_funct_strings & | operator= (const ode_funct_strings &) |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).