![]() |
AmpGen 2.1
|
Definition at line 385 of file Expression.h.
Public Member Functions | |
| Sqrt (const Expression &other) | |
| virtual std::string | to_string (const ASTResolver *resolver=nullptr) const override |
| Called to convert the Expression tree into source code. | |
| virtual Expression | d () const override |
| operator Expression () const | |
| virtual complex_t | operator() () const override |
| Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging. | |
| void | resolve (ASTResolver &resolver) const override |
| Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc. | |
| Expression | arg () const |
Protected Attributes | |
| Expression | m_expression |
|
explicit |
|
inlineinherited |
Definition at line 371 of file Expression.h.
|
overridevirtual |
Implements AmpGen::IUnaryExpression.
| AmpGen::Sqrt::operator Expression | ( | ) | const |
|
overridevirtual |
Implements AmpGen::IUnaryExpression.
|
overridevirtualinherited |
| resolver | resolver object to use |
Implements AmpGen::IExpression.
|
overridevirtual |
Implements AmpGen::IExpression.
|
protectedinherited |
Definition at line 373 of file Expression.h.