tfel
Loading...
Searching...
No Matches
tfel::math::parser::Expr Struct Referenceabstract

base class resulting from the analysis of a formula. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/Parser/Expr.hxx>

Inheritance diagram for tfel::math::parser::Expr:
tfel::math::parser::BinaryFunction tfel::math::parser::BinaryOperation< Op > tfel::math::parser::ConditionalExpr tfel::math::parser::DifferentiatedFunctionExpr tfel::math::parser::EvaluatorFunctionBase tfel::math::parser::ExternalFunctionExpr tfel::math::parser::ExternalFunctionExpr2 tfel::math::parser::Function tfel::math::parser::Negation tfel::math::parser::Number tfel::math::parser::Variable

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

Detailed Description

base class resulting from the analysis of a formula.

Member Function Documentation

◆ checkCyclicDependency()

◆ dependsOnVariable()

◆ getCxxFormula()

◆ getValue()

◆ isConstant()


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