One-dimensional function from strings. More...
Definition at line 52 of file ode_funct.h.
#include <ode_funct.h>
Public Member Functions | |
ode_funct11_strings (size_t nv, std::string *formulas, std::string funcs, std::string var, size_t np=0, std::string parms="") | |
Specify the string and the parameters. | |
int | set_function (size_t nv, std::string *formulas, std::string funcs, std::string var, size_t np=0, std::string parms="") |
Specify the string and the parameters. | |
template<class vec_p_t > | |
void | set_parms (vec_p_t &p) |
Set the values of the auxilliary parameters that were specified in 'parms' in the constructor. | |
virtual int | operator() (double x, size_t nv, const vec_y_t &y, vec_dydx_t &dydx) |
Protected Attributes | |
FunctionParser * | fpw |
The formula parser. | |
size_t | st_np |
The number of parameters. | |
size_t | st_nv |
The number of variables. | |
double * | arr |
The parameters. | |
std::string * | st_forms |
The formulas. | |
std::string | st_var |
The variables. | |
std::string | st_parms |
The parameters. | |
std::string | st_funcs |
The function names. | |
Private Member Functions | |
ode_funct11_strings (const ode_funct11_strings &) | |
ode_funct11_strings & | operator= (const ode_funct11_strings &) |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).
Hosted at
.