◆ Variable()
| tfel::math::parser::Variable::Variable |
( |
const std::vector< double > & | , |
|
|
const std::vector< double >::size_type | ) |
constructor
- Parameters
-
| [in] | v_ | buffer containing the values of all the variables |
| [in] | p_ | position of the variable in the buffer |
◆ checkCyclicDependency()
| void tfel::math::parser::Variable::checkCyclicDependency |
( |
std::vector< std::string > & | | ) |
const |
|
overridevirtual |
◆ clone()
| std::shared_ptr< Expr > tfel::math::parser::Variable::clone |
( |
const std::vector< double > & | | ) |
const |
|
nodiscardoverridevirtual |
◆ createFunctionByChangingParametersIntoVariables()
| std::shared_ptr< Expr > tfel::math::parser::Variable::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::Variable::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::Variable::differentiate |
( |
const std::vector< double >::size_type | , |
|
|
const std::vector< double > & | ) const |
|
nodiscardoverridevirtual |
◆ getCxxFormula()
| std::string tfel::math::parser::Variable::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::Variable::getParametersNames |
( |
std::set< std::string > & | | ) |
const |
|
overridevirtual |
◆ getValue()
| double tfel::math::parser::Variable::getValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ isConstant()
| bool tfel::math::parser::Variable::isConstant |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ resolveDependencies()
| std::shared_ptr< Expr > tfel::math::parser::Variable::resolveDependencies |
( |
const std::vector< double > & | | ) |
const |
|
nodiscardoverridevirtual |
The documentation for this struct was generated from the following file: