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

Array of multi-dimensional functions in an array of strings. More...

Detailed Description

template<class vec_t = boost::numeric::ublas::vector<double>>
class o2scl::mm_funct11_strings< vec_t >

Definition at line 48 of file mm_funct.h.

#include <mm_funct.h>

Public Member Functions

 mm_funct11_strings (int nv, std::string *formulas, std::string vars, int np=0, std::string parms="")
 Specify the strings.
 
int set_parms (const vec_t &p)
 Set the values of the auxilliary parameters that were specified in 'parms' in the constructor.
 
virtual int operator() (size_t nv, const vec_t &x, vec_t &y)
 Compute nv functions, y, of nv variables stored in x with parameter pa.
 
int set_function (int nv, std::string *formulas, std::string vars, int np=0, std::string parms="")
 Set the functions.
 

Protected Attributes

FunctionParserfpw
 The function parser.
 
int st_np
 The number of parameters.
 
int st_nv
 The number of variables.
 
double * arr
 The arguments to the function parser.
 
std::string * st_forms
 The formulas.
 
std::string st_vars
 The variables.
 
std::string st_parms
 The parameters.
 

Private Member Functions

 mm_funct11_strings (const mm_funct11_strings &)
 
mm_funct11_stringsoperator= (const mm_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..