A multi-dimensional function from a string. More...
Definition at line 50 of file multi_funct.h.
#include <multi_funct.h>
Public Member Functions | |
multi_funct11_strings (std::string formula, int nv, std::string vars, int np=0, std::string parms="") | |
Specify the string and the parameters. | |
int | set_function (std::string formula, int nv, std::string vars, int np=0, std::string parms="") |
Specify the string and the parameters. | |
int | set_parms (const vec_t &p) |
Set the values of the auxilliary parameters that were specified in parms in the constructor. | |
virtual double | operator() (size_t nv, const vec_t &x) |
Compute a function y of nv variables stored in x with parameter pa . | |
Protected Attributes | |
FunctionParser | fpw |
The object for evaluating strings. | |
int | st_np |
The number of parameters. | |
int | st_nv |
The number of variables. | |
double * | arr |
Storage for the parameters for fpw. | |
std::string | st_form |
The formula string. | |
std::string | st_vars |
The variable string. | |
std::string | st_parms |
The parameter string. | |
Private Member Functions | |
multi_funct11_strings (const multi_funct11_strings &) | |
multi_funct11_strings & | operator= (const multi_funct11_strings &) |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).
Hosted at
.