![]() |
AmpGen 2.1
|
Public Member Functions | |
| Spline (const std::string &name, const size_t &nKnots, const double &min, const double &max) | |
| Spline (const Spline &spline, const Expression &x, DebugSymbols *db=nullptr) | |
| void | resolve (ASTResolver &resolver) const override |
| Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc. | |
| std::string | to_string (const ASTResolver *resolver=nullptr) const override |
| Called to convert the Expression tree into source code. | |
| operator Expression () | |
| complex_t | operator() () const override |
| Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging. | |
| Expression | operator() (const Expression &x, DebugSymbols *db) |
| Expression | eval (DebugSymbols *db=nullptr) const |
Public Attributes | |
| Array | m_points |
| std::string | m_name |
| size_t | m_nKnots |
| double | m_min |
| double | m_max |
| Expression | m_x |
| Expression | m_eval |
| AmpGen::Spline::Spline | ( | const std::string & | name, |
| const size_t & | nKnots, | ||
| const double & | min, | ||
| const double & | max ) |
| AmpGen::Spline::Spline | ( | const Spline & | spline, |
| const Expression & | x, | ||
| DebugSymbols * | db = nullptr ) |
| Expression AmpGen::Spline::eval | ( | DebugSymbols * | db = nullptr | ) | const |
| AmpGen::Spline::operator Expression | ( | ) |
|
overridevirtual |
Implements AmpGen::IExpression.
| Expression AmpGen::Spline::operator() | ( | const Expression & | x, |
| DebugSymbols * | db ) |
|
overridevirtual |
| resolver | resolver object to use |
Implements AmpGen::IExpression.
|
overridevirtual |
Implements AmpGen::IExpression.
| Expression AmpGen::Spline::m_eval |
| Expression AmpGen::Spline::m_x |