|
| | Evaluator (const std::string &) |
| | Evaluator (const std::vector< std::string > &, const std::string &) |
| | Evaluator (const std::string &, std::shared_ptr< tfel::math::parser::ExternalFunctionManager >) |
| | Evaluator (const std::vector< std::string > &, const std::string &, std::shared_ptr< tfel::math::parser::ExternalFunctionManager >) |
| | Evaluator (const double) |
| | build an evaluator from a value.
|
|
| Evaluator () |
| | default constructor
|
|
| Evaluator (const Evaluator &) |
| | copy constructor
|
|
Evaluator & | operator= (const Evaluator &) |
| | assignment operator
|
| void | setFunction (const std::string &) |
| void | setFunction (const std::vector< std::string > &, const std::string &) |
| void | setFunction (const std::string &, std::shared_ptr< tfel::math::parser::ExternalFunctionManager > &) |
| void | setFunction (const std::vector< std::string > &, const std::string &, std::shared_ptr< tfel::math::parser::ExternalFunctionManager > &) |
| double | getValue () const override |
| | evaluate the formula
|
| double | getValue (const std::map< std::string, double > &) |
| | evaluate the formula
|
| double | operator() () const |
| | evaluate the formula
|
| double | operator() (const std::map< std::string, double > &) |
| | evaluate the formula
|
| std::vector< double >::size_type | getNumberOfVariables () const override |
| void | checkCyclicDependency (const std::string &) const override |
| void | checkCyclicDependency (std::vector< std::string > &) const override |
| std::shared_ptr< tfel::math::parser::ExternalFunction > | differentiate (const std::vector< double >::size_type) const override |
| std::shared_ptr< tfel::math::parser::ExternalFunction > | differentiate (const std::string &) const override |
| std::shared_ptr< tfel::math::parser::ExternalFunction > | resolveDependencies () const override |
| void | setVariableValue (const std::vector< double >::size_type, const double) override |
| std::shared_ptr< ExternalFunction > | createFunctionByChangingParametersIntoVariables (const std::vector< std::string > &) const override |
| std::shared_ptr< ExternalFunction > | createFunctionByChangingParametersIntoVariables (std::vector< std::string > &, const std::vector< double > &, const std::vector< std::string > &, const std::map< std::string, std::vector< double >::size_type > &) const override |
| void | getParametersNames (std::set< std::string > &) const override |
| virtual std::string | getCxxFormula (const std::map< std::string, std::string > &={}) const |
| virtual std::vector< std::string > | getVariablesNames () const |
|
virtual void | checkCyclicDependency () const |
|
virtual void | removeDependencies () |
|
virtual void | setVariableValue (const std::string &, const double) |
|
virtual void | setVariableValue (const char *const, const double) |
|
|
static FunctionGeneratorManager & | getFunctionGeneratorManager () |
|
static double | max (const double, const double) |
|
static double | min (const double, const double) |
|
static double | Heavyside (const double) |
|
static bool | isValidIdentifier (const std::string &) |
|
static void | checkParameterNumber (const std::vector< double >::size_type, const std::vector< double >::size_type) |
|
static void | checkVariableNumber (const std::vector< double >::size_type, const std::vector< double >::size_type) |
|
static void | checkNotEndOfExpression (const std::string &, const std::string &, const std::vector< std::string >::const_iterator, const std::vector< std::string >::const_iterator) |
|
static void | checkNotEndOfExpression (const std::string &, const std::vector< std::string >::const_iterator, const std::vector< std::string >::const_iterator) |
|
static void | readSpecifiedToken (const std::string &, const std::string &, std::vector< std::string >::const_iterator &, const std::vector< std::string >::const_iterator) |
|
static unsigned short | readUnsignedShortValue (const std::string &, std::vector< std::string >::const_iterator &, const std::vector< std::string >::const_iterator) |
|
static unsigned short | convertToUnsignedShort (const std::string &, const std::string &) |
|
static unsigned int | convertToUnsignedInt (const std::string &, const std::string &) |
|
static bool | isInteger (const std::string &) |
|
static int | convertToInt (const std::string &, const std::string &) |
| static std::shared_ptr< tfel::math::parser::Expr > | makePowerFunctionExpression (std::shared_ptr< tfel::math::parser::Expr >, const int) |
| | return an expression representing the power of the given argument with an integer exponent.
|
class in charge of handling a function defined by a string.