All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Private Member Functions
o2scl::ode_funct11_strings< vec_y_t, vec_dydx_t > Class Template Reference

One-dimensional function from strings. More...

Detailed Description

template<class vec_y_t = boost::numeric::ublas::vector<double>, class vec_dydx_t = vec_y_t>
class o2scl::ode_funct11_strings< vec_y_t, vec_dydx_t >

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

FunctionParserfpw
 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_stringsoperator= (const ode_funct11_strings &)
 

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).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..