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

One-dimensional function from strings. More...

#include <ode_funct.h>

Public Member Functions

template<class vec_string_t = std::vector<std::string>>
 ode_funct11_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< calculatorcalc
 The function parser.
 
std::map< std::string, double > vars
 Desc.
 
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_funct11_strings (const ode_funct11_strings &)
 
ode_funct11_stringsoperator= (const ode_funct11_strings &)
 

Detailed Description

Definition at line 51 of file ode_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).