![]() |
AmpGen 2.1
|
those that take a single argument.
Definition at line 365 of file Expression.h.
Public Member Functions | |
IUnaryExpression (const Expression &other) | |
void | resolve (ASTResolver &resolver) const override |
Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc. | |
complex_t | operator() () const override=0 |
Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging. | |
virtual Expression | d () const =0 |
Expression | arg () const |
virtual std::string | to_string (const ASTResolver *resolver=nullptr) const =0 |
Called to convert the Expression tree into source code. | |
Protected Attributes | |
Expression | m_expression |
|
inline |
Definition at line 367 of file Expression.h.
|
inline |
Definition at line 371 of file Expression.h.
|
pure virtual |
Implemented in AmpGen::Abs, AmpGen::ACos, AmpGen::ASin, AmpGen::ATan, AmpGen::Conj, AmpGen::Cos, AmpGen::Exp, AmpGen::Imag, AmpGen::ISqrt, AmpGen::LGamma, AmpGen::Log, AmpGen::Norm, AmpGen::Real, AmpGen::Sin, AmpGen::Sqrt, and AmpGen::Tan.
|
overridepure virtual |
Implements AmpGen::IExpression.
Implemented in AmpGen::Abs, AmpGen::ACos, AmpGen::ASin, AmpGen::ATan, AmpGen::Conj, AmpGen::Cos, AmpGen::Exp, AmpGen::Imag, AmpGen::ISqrt, AmpGen::LGamma, AmpGen::Log, AmpGen::Norm, AmpGen::Real, AmpGen::Sin, AmpGen::Sqrt, and AmpGen::Tan.
|
overridevirtual |
resolver | resolver object to use |
Implements AmpGen::IExpression.
|
pure virtualinherited |
Implemented in AmpGen::Abs, AmpGen::ACos, AmpGen::And, AmpGen::Array, AmpGen::ASin, AmpGen::ATan2, AmpGen::ATan, AmpGen::ComplexParameter, AmpGen::Conj, AmpGen::Constant, AmpGen::Cos, AmpGen::Divide, AmpGen::Equal, AmpGen::Exp, AmpGen::ExpressionPack, AmpGen::Fmod, AmpGen::Function, AmpGen::GreaterThan, AmpGen::GreaterThanEqualTo, AmpGen::Imag, AmpGen::ISqrt, AmpGen::LambdaExpression, AmpGen::LessThan, AmpGen::LessThanEqualTo, AmpGen::LGamma, AmpGen::Log, AmpGen::MinuitParameterLink, AmpGen::Norm, AmpGen::Or, AmpGen::Parameter, AmpGen::Pow, AmpGen::Product, AmpGen::Real, AmpGen::Sin, AmpGen::Spline, AmpGen::Sqrt, AmpGen::Sub, AmpGen::SubTree, AmpGen::Sum, AmpGen::Tan, AmpGen::TensorExpression, and AmpGen::Ternary.
|
protected |
Definition at line 373 of file Expression.h.