|
tfel
|
implementation of an unary function from a standard C-function More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Parser/Function.hxx>
Public Member Functions | |
| StandardFunction (const char *const, const std::shared_ptr< Expr >) noexcept | |
| StandardFunction & | operator= (const StandardFunction &)=delete |
| StandardFunction & | operator= (StandardFunction &&)=delete |
| double | getValue () const override |
| std::string | getCxxFormula (const std::vector< std::string > &) const override |
| 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 |
| 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 |
| ~StandardFunction () override | |
| destructor | |
| std::string | getCxxFormula (const std::vector< std::string > &) const |
| the Heaviside function has no C++ counterpart: a conditional expression is used. | |
| Public Member Functions inherited from tfel::math::parser::Function | |
| 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 | |
| Public Member Functions inherited from tfel::math::parser::Expr | |
| virtual | ~Expr () |
| destructor | |
Additional Inherited Members | |
| Protected Member Functions inherited from tfel::math::parser::Function | |
| Function (const std::shared_ptr< Expr >) noexcept | |
| constructor | |
| Protected Attributes inherited from tfel::math::parser::Function | |
| const std::shared_ptr< Expr > | expr |
| argument | |
implementation of an unary function from a standard C-function
|
noexcept |
| [in] | n | name of the function |
| [in] | e | expression |
|
nodiscardoverridevirtual |
Implements tfel::math::parser::Expr.
|
nodiscardoverridevirtual |
Implements tfel::math::parser::Expr.
|
nodiscardoverridevirtual |
Implements tfel::math::parser::Expr.
|
virtual |
the Heaviside function has no C++ counterpart: a conditional expression is used.
Implements tfel::math::parser::Expr.
|
nodiscardoverridevirtual |
| [in] | m | a map used to change the names of the variables |
Implements tfel::math::parser::Expr.
|
nodiscardoverridevirtual |
Implements tfel::math::parser::Expr.
|
nodiscardoverridevirtual |
Implements tfel::math::parser::Expr.