tfel
Loading...
Searching...
No Matches
tfel::math::parser::EvaluatorFunction1VBase Struct Reference
Inheritance diagram for tfel::math::parser::EvaluatorFunction1VBase:
tfel::math::parser::EvaluatorFunctionBase tfel::math::parser::Expr tfel::math::parser::EvaluatorFunction1P1V tfel::math::parser::EvaluatorFunction2P1V

Public Member Functions

 EvaluatorFunction1VBase (const std::shared_ptr< Expr >)
EvaluatorFunction1VBase & operator= (const EvaluatorFunction1VBase &)=delete
EvaluatorFunction1VBase & operator= (EvaluatorFunction1VBase &&)=delete
bool isConstant () const override
 return if the expression is constant
bool dependsOnVariable (const std::vector< double >::size_type) const override
void checkCyclicDependency (std::vector< std::string > &) const override
 check if the expression does not lead to a cyclic dependency
Public Member Functions inherited from tfel::math::parser::EvaluatorFunctionBase
 EvaluatorFunctionBase ()
 constructor
std::string getCxxFormula (const std::vector< std::string > &) const override
std::shared_ptr< Expr > differentiate (const std::vector< double >::size_type, const std::vector< double > &) const override
 ~EvaluatorFunctionBase () override
 destructor
Public Member Functions inherited from tfel::math::parser::Expr
virtual double getValue () const =0
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 void getParametersNames (std::set< 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

Protected Attributes

const std::shared_ptr< Expr > expr

Member Function Documentation

◆ checkCyclicDependency()

void tfel::math::parser::EvaluatorFunction1VBase::checkCyclicDependency ( std::vector< std::string > & ) const
overridevirtual

check if the expression does not lead to a cyclic dependency

Implements tfel::math::parser::Expr.

◆ dependsOnVariable()

bool tfel::math::parser::EvaluatorFunction1VBase::dependsOnVariable ( const std::vector< double >::size_type ) const
nodiscardoverridevirtual
Returns
if the expression depends of the variable associated with the given position
Parameters
[in]pposition

Implements tfel::math::parser::Expr.

◆ isConstant()

bool tfel::math::parser::EvaluatorFunction1VBase::isConstant ( ) const
nodiscardoverridevirtual

return if the expression is constant

Implements tfel::math::parser::Expr.


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