Greens-code
A modular quantum transport code
Public Types | Public Member Functions | Static Public Member Functions | List of all members
expression Class Reference

Public Types

typedef STD_TR1::shared_ptr< expressionref
 
typedef STD_TR1::shared_ptr< const expressionconst_ref
 

Public Member Functions

 expression (ncexpression::ref new_nex)
 
double value (double x) const
 

Static Public Member Functions

static expression::ref parse (const std::string &s)
 
static expression::ref parse (const std::string &s, loadable_Object_const_ref obj, char var_char='x')
 
static double evaluate (const std::string &s, loadable_Object_const_ref obj, double x)
 

The documentation for this class was generated from the following files: