build an expression which stands for the integer power of another expression.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Parser/PowerFunction.hxx>
|
| | Function (const std::shared_ptr< Expr >) noexcept |
| | constructor
|
|
const std::shared_ptr< Expr > | expr |
| | argument
|
build an expression which stands for the integer power of another expression.
◆ GeneralPowerFunction()
| tfel::math::parser::GeneralPowerFunction::GeneralPowerFunction |
( |
const std::shared_ptr< Expr > | , |
|
|
const int | ) |
|
noexcept |
constructor
- Parameters
-
| [in] | e | expression |
| [in] | n | exponent |
◆ clone()
| std::shared_ptr< Expr > tfel::math::parser::GeneralPowerFunction::clone |
( |
const std::vector< double > & | | ) |
const |
|
nodiscardoverridevirtual |
◆ createFunctionByChangingParametersIntoVariables()
| std::shared_ptr< Expr > tfel::math::parser::GeneralPowerFunction::createFunctionByChangingParametersIntoVariables |
( |
const std::vector< double > & | , |
|
|
const std::vector< std::string > & | , |
|
|
const std::map< std::string, std::vector< double >::size_type > & | ) const |
|
nodiscardoverridevirtual |
◆ differentiate()
| std::shared_ptr< Expr > tfel::math::parser::GeneralPowerFunction::differentiate |
( |
const std::vector< double >::size_type | , |
|
|
const std::vector< double > & | ) const |
|
nodiscardoverridevirtual |
◆ getCxxFormula()
| std::string tfel::math::parser::GeneralPowerFunction::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.
◆ getValue()
| double tfel::math::parser::GeneralPowerFunction::getValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ resolveDependencies()
| std::shared_ptr< Expr > tfel::math::parser::GeneralPowerFunction::resolveDependencies |
( |
const std::vector< double > & | | ) |
const |
|
nodiscardoverridevirtual |
The documentation for this struct was generated from the following file: