|
tfel
|
base class resulting from the analysis of a formula. More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Parser/Expr.hxx>
Public Member Functions | |
| virtual bool | dependsOnVariable (const std::vector< double >::size_type) const =0 |
| virtual bool | isConstant () const =0 |
| return if the expression is constant | |
| virtual double | getValue () const =0 |
| virtual void | checkCyclicDependency (std::vector< std::string > &) const =0 |
| check if the expression does not lead to a cyclic dependency | |
| virtual std::shared_ptr< Expr > | resolveDependencies (const std::vector< double > &) const =0 |
| virtual std::shared_ptr< Expr > | clone (const std::vector< double > &) const =0 |
| virtual std::shared_ptr< Expr > | differentiate (const std::vector< double >::size_type, const std::vector< double > &) const =0 |
| virtual void | getParametersNames (std::set< std::string > &) const =0 |
| virtual std::string | getCxxFormula (const std::vector< std::string > &) const =0 |
| virtual std::shared_ptr< Expr > | createFunctionByChangingParametersIntoVariables (const std::vector< double > &, const std::vector< std::string > &, const std::map< std::string, std::vector< double >::size_type > &) const =0 |
| virtual | ~Expr () |
| destructor | |
base class resulting from the analysis of a formula.
|
pure virtual |
check if the expression does not lead to a cyclic dependency
Implemented in tfel::math::parser::BinaryOperation< Op >, tfel::math::parser::ConditionalExpr, tfel::math::parser::DifferentiatedFunctionExpr, tfel::math::parser::EvaluatorFunction1PNV< N >, tfel::math::parser::EvaluatorFunction1UPNV< N >, tfel::math::parser::EvaluatorFunction1VBase, tfel::math::parser::EvaluatorFunction2PNV< N >, tfel::math::parser::EvaluatorFunction2UPNV< N >, tfel::math::parser::EvaluatorFunction2VBase, tfel::math::parser::EvaluatorFunctionNV< N >, tfel::math::parser::ExternalFunctionExpr2, tfel::math::parser::ExternalFunctionExpr, tfel::math::parser::Function, tfel::math::parser::Negation, tfel::math::parser::Number, tfel::math::parser::StandardBinaryFunction< f >, and tfel::math::parser::Variable.
|
nodiscardpure virtual |
| [in] | p | position |
Implemented in tfel::math::parser::BinaryOperation< Op >, tfel::math::parser::ConditionalExpr, tfel::math::parser::DifferentiatedFunctionExpr, tfel::math::parser::EvaluatorFunction1PNV< N >, tfel::math::parser::EvaluatorFunction1UPNV< N >, tfel::math::parser::EvaluatorFunction1VBase, tfel::math::parser::EvaluatorFunction2PNV< N >, tfel::math::parser::EvaluatorFunction2UPNV< N >, tfel::math::parser::EvaluatorFunction2VBase, tfel::math::parser::EvaluatorFunctionNV< N >, tfel::math::parser::ExternalFunctionExpr2, tfel::math::parser::ExternalFunctionExpr, tfel::math::parser::Function, tfel::math::parser::Negation, tfel::math::parser::Number, tfel::math::parser::StandardBinaryFunction< f >, and tfel::math::parser::Variable.
|
nodiscardpure virtual |
| [in] | m | a map used to change the names of the variables |
Implemented in tfel::math::parser::BinaryOperation< Op >, tfel::math::parser::ConditionalExpr, tfel::math::parser::DifferentiatedFunctionExpr, tfel::math::parser::EvaluatorFunctionBase, tfel::math::parser::ExternalFunctionExpr2, tfel::math::parser::ExternalFunctionExpr, tfel::math::parser::GeneralPowerFunction, tfel::math::parser::Negation, tfel::math::parser::Number, tfel::math::parser::PowerFunction< N >, tfel::math::parser::StandardBinaryFunction< f >, tfel::math::parser::StandardFunction< f >, tfel::math::parser::StandardFunction< f >, and tfel::math::parser::Variable.
|
nodiscardpure virtual |
Implemented in tfel::math::parser::BinaryOperation< Op >, tfel::math::parser::ConditionalExpr, tfel::math::parser::DifferentiatedFunctionExpr, tfel::math::parser::EvaluatorFunction1P1V, tfel::math::parser::EvaluatorFunction1P2V, tfel::math::parser::EvaluatorFunction1PNV< N >, tfel::math::parser::EvaluatorFunction1UPNV< N >, tfel::math::parser::EvaluatorFunction2P1V, tfel::math::parser::EvaluatorFunction2P2V, tfel::math::parser::EvaluatorFunction2PNV< N >, tfel::math::parser::EvaluatorFunction2UPNV< N >, tfel::math::parser::EvaluatorFunctionNV< N >, tfel::math::parser::ExternalFunctionExpr2, tfel::math::parser::ExternalFunctionExpr, tfel::math::parser::GeneralPowerFunction, tfel::math::parser::Negation, tfel::math::parser::Number, tfel::math::parser::PowerFunction< N >, tfel::math::parser::StandardBinaryFunction< f >, tfel::math::parser::StandardFunction< f >, and tfel::math::parser::Variable.
|
nodiscardpure virtual |
return if the expression is constant
Implemented in tfel::math::parser::BinaryOperation< Op >, tfel::math::parser::ConditionalExpr, tfel::math::parser::DifferentiatedFunctionExpr, tfel::math::parser::EvaluatorFunction1PNV< N >, tfel::math::parser::EvaluatorFunction1UPNV< N >, tfel::math::parser::EvaluatorFunction1VBase, tfel::math::parser::EvaluatorFunction2PNV< N >, tfel::math::parser::EvaluatorFunction2UPNV< N >, tfel::math::parser::EvaluatorFunction2VBase, tfel::math::parser::EvaluatorFunctionNV< N >, tfel::math::parser::ExternalFunctionExpr2, tfel::math::parser::ExternalFunctionExpr, tfel::math::parser::Function, tfel::math::parser::Negation, tfel::math::parser::Number, tfel::math::parser::StandardBinaryFunction< f >, and tfel::math::parser::Variable.