base class for unary functions
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Parser/Function.hxx>
|
| 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
|
| void | getParametersNames (std::set< std::string > &) const override |
|
| ~Function () override |
| | destructor
|
| 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 std::shared_ptr< Expr > | differentiate (const std::vector< double >::size_type, const std::vector< double > &) 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
|
|
| | Function (const std::shared_ptr< Expr >) noexcept |
| | constructor
|
|
|
const std::shared_ptr< Expr > | expr |
| | argument
|
base class for unary functions
◆ Function()
| tfel::math::parser::Function::Function |
( |
const std::shared_ptr< Expr > | | ) |
|
|
explicitprotectednoexcept |
constructor
- Parameters
-
| [in] | e | expression representing the argument of the function |
◆ checkCyclicDependency()
| void tfel::math::parser::Function::checkCyclicDependency |
( |
std::vector< std::string > & | | ) |
const |
|
overridevirtual |
◆ dependsOnVariable()
| bool tfel::math::parser::Function::dependsOnVariable |
( |
const std::vector< double >::size_type | | ) |
const |
|
nodiscardoverridevirtual |
- Returns
- if the expression depends of the variable associated with the given position
- Parameters
-
Implements tfel::math::parser::Expr.
◆ getParametersNames()
| void tfel::math::parser::Function::getParametersNames |
( |
std::set< std::string > & | | ) |
const |
|
overridevirtual |
◆ isConstant()
| bool tfel::math::parser::Function::isConstant |
( |
| ) |
const |
|
nodiscardoverridevirtual |
The documentation for this struct was generated from the following file: