Belle II Software
release-08-01-10
|
Struct to construct new variable function objects from a name or a double value or to apply operations on these variable function objects. More...
#include <VariableFormulaConstructor.h>
Public Types | |
typedef Variable::Manager::FunctionPtr | type |
Return value we want for the FormulaParser::parse. | |
typedef FormulaParserBase::EOperator | Op |
Shorthand for the operator enum. | |
Public Member Functions | |
type | operator() (const std::string &name) |
Construct a variable from a given name. | |
type | operator() (double value) |
Construct a variable from a double value. | |
type | operator() (Op op, const type &a, const type &b) |
Apply operator on two variables. | |
type | operator() (Op op, double &a, const type &b) |
Apply operator on a double and a variable. | |
type | operator() (Op op, const type &a, double b) |
Apply operator on a variable and a double. | |
Struct to construct new variable function objects from a name or a double value or to apply operations on these variable function objects.
Used for the formula()
meta variable and passed to FormulaParser
Definition at line 20 of file VariableFormulaConstructor.h.