AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::IExpression Class Referenceabstract

Detailed Description


Implementations must permit the following operations on nodes.

Definition at line 116 of file Expression.h.

Public Member Functions

virtual std::string to_string (const ASTResolver *resolver=nullptr) const =0
 Called to convert the Expression tree into source code.
 
virtual void resolve (ASTResolver &resolver) const =0
 Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc.
 
virtual ~IExpression ()=default
 virtual descructor
 
virtual complex_t operator() () const =0
 Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging.
 
Inheritance diagram for AmpGen::IExpression:
AmpGen::Array AmpGen::ComplexParameter AmpGen::Constant AmpGen::ExpressionPack AmpGen::Function AmpGen::IBinaryExpression AmpGen::IUnaryExpression AmpGen::LambdaExpression AmpGen::MinuitParameterLink AmpGen::Parameter AmpGen::Spline AmpGen::SubTree AmpGen::TensorExpression AmpGen::Ternary

Constructor & Destructor Documentation

◆ ~IExpression()

virtual AmpGen::IExpression::~IExpression ( )
virtualdefault

Member Function Documentation

◆ operator()()

◆ resolve()

◆ to_string()


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