![]() |
Rosetta
2019.07
|
Evaluates ee1 when e1 is less than e2; evaluates ee2 otherwise. More...
#include <Arithmetic.hh>
Public Member Functions | |
MetaMinExpression (ExpressionCOP e1, ExpressionCOP e2, ExpressionCOP ee1, ExpressionCOP ee2) | |
numeric::Real | operator() () const override |
ExpressionCOP | differentiate (std::string const &varname) const override |
Returns the expression for the partial derivative of this expression by the variable named varname. If the partial derivative is always zero with respect to varname, returns null. More... | |
std::list< std::string > | active_variables () const override |
![]() | |
~Expression () override | |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Private Attributes | |
ExpressionCOP | e1_ |
ExpressionCOP | e2_ |
ExpressionCOP | ee1_ |
ExpressionCOP | ee2_ |
Additional Inherited Members | |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
Evaluates ee1 when e1 is less than e2; evaluates ee2 otherwise.
numeric::expression_parser::MetaMinExpression::MetaMinExpression | ( | ExpressionCOP | e1, |
ExpressionCOP | e2, | ||
ExpressionCOP | ee1, | ||
ExpressionCOP | ee2 | ||
) |
|
overridevirtual |
Implements numeric::expression_parser::Expression.
|
overridevirtual |
Returns the expression for the partial derivative of this expression by the variable named varname. If the partial derivative is always zero with respect to varname, returns null.
Implements numeric::expression_parser::Expression.
|
overridevirtual |
Implements numeric::expression_parser::Expression.
|
private |
Referenced by active_variables(), differentiate(), and operator()().
|
private |
Referenced by active_variables(), differentiate(), and operator()().
|
private |
Referenced by active_variables(), differentiate(), and operator()().
|
private |
Referenced by active_variables(), differentiate(), and operator()().