![]() |
AmpGen 2.1
|
Definition at line 158 of file Expression.h.
Public Member Functions | |
| template<typename T1, typename T2, typename = std::enable_if_t<std::is_constructible<complex_t, T1, T2>::value>> | |
| Constant (const T1 &real, const T2 &imag=0) | |
| Constant (const complex_t &value) | |
| std::string | to_string (const ASTResolver *resolver=nullptr) const override |
| Called to convert the Expression tree into source code. | |
| void | resolve (ASTResolver &resolver) const override |
| Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc. | |
| operator Expression () const | |
| complex_t | operator() () const override |
| Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging. | |
|
inline |
Definition at line 161 of file Expression.h.
|
inline |
Definition at line 163 of file Expression.h.
| AmpGen::Constant::operator Expression | ( | ) | const |
|
inlineoverridevirtual |
Implements AmpGen::IExpression.
Definition at line 167 of file Expression.h.
|
overridevirtual |
| resolver | resolver object to use |
Implements AmpGen::IExpression.
|
overridevirtual |
Implements AmpGen::IExpression.