|
|
| ConditionalExpr (const std::shared_ptr< LogicalExpr >, const std::shared_ptr< Expr >, const std::shared_ptr< Expr >) noexcept |
|
ConditionalExpr & | operator= (const ConditionalExpr &)=delete |
|
ConditionalExpr & | operator= (ConditionalExpr &&)=delete |
| bool | isConstant () const override |
| | return if the expression is constant
|
| bool | dependsOnVariable (const std::vector< double >::size_type) const override |
| double | getValue () const override |
| std::string | getCxxFormula (const std::vector< std::string > &) const override |
| void | checkCyclicDependency (std::vector< std::string > &) const override |
| | check if the expression does not lead to a cyclic dependency
|
| std::shared_ptr< Expr > | resolveDependencies (const std::vector< double > &) const override |
| std::shared_ptr< Expr > | differentiate (const std::vector< double >::size_type, const std::vector< double > &) const override |
| std::shared_ptr< Expr > | clone (const std::vector< double > &) const override |
| void | getParametersNames (std::set< std::string > &) const override |
| 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 override |
|
virtual | ~Expr () |
| | destructor
|
◆ checkCyclicDependency()
| void tfel::math::parser::ConditionalExpr::checkCyclicDependency |
( |
std::vector< std::string > & | | ) |
const |
|
overridevirtual |
◆ clone()
| std::shared_ptr< Expr > tfel::math::parser::ConditionalExpr::clone |
( |
const std::vector< double > & | | ) |
const |
|
nodiscardoverridevirtual |
◆ createFunctionByChangingParametersIntoVariables()
| std::shared_ptr< Expr > tfel::math::parser::ConditionalExpr::createFunctionByChangingParametersIntoVariables |
( |
const std::vector< double > & | , |
|
|
const std::vector< std::string > & | , |
|
|
const std::map< std::string, std::vector< double >::size_type > & | ) const |
|
nodiscardoverridevirtual |
◆ dependsOnVariable()
| bool tfel::math::parser::ConditionalExpr::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.
◆ differentiate()
| std::shared_ptr< Expr > tfel::math::parser::ConditionalExpr::differentiate |
( |
const std::vector< double >::size_type | , |
|
|
const std::vector< double > & | ) const |
|
nodiscardoverridevirtual |
◆ getCxxFormula()
| std::string tfel::math::parser::ConditionalExpr::getCxxFormula |
( |
const std::vector< std::string > & | | ) |
const |
|
nodiscardoverridevirtual |
- Returns
- a string representation of the evaluator suitable to be integrated in a C++ code.
- Parameters
-
| [in] | m | a map used to change the names of the variables |
Implements tfel::math::parser::Expr.
◆ getParametersNames()
| void tfel::math::parser::ConditionalExpr::getParametersNames |
( |
std::set< std::string > & | | ) |
const |
|
overridevirtual |
◆ getValue()
| double tfel::math::parser::ConditionalExpr::getValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ isConstant()
| bool tfel::math::parser::ConditionalExpr::isConstant |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ resolveDependencies()
| std::shared_ptr< Expr > tfel::math::parser::ConditionalExpr::resolveDependencies |
( |
const std::vector< double > & | | ) |
const |
|
nodiscardoverridevirtual |
The documentation for this struct was generated from the following file: