|
Rosetta
|
#include <Arithmetic.hh>

Public Member Functions | |
| UnaryExpression () | |
| ~UnaryExpression () override | |
| UnaryExpression (ExpressionCOP ex) | |
| void | set_expression (ExpressionCOP ex) |
| std::list< std::string > | active_variables () const override |
| ExpressionCOP | ex () const |
Public Member Functions inherited from numeric::expression_parser::Expression | |
| ~Expression () override | |
| Automatically generated virtual destructor for class deriving directly from VirtualBase. More... | |
| virtual numeric::Real | operator() () const =0 |
| virtual ExpressionCOP | differentiate (std::string const &varname) const =0 |
| 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... | |
Public Member Functions inherited from utility::VirtualBase | |
| VirtualBase ()=default | |
| Default constructor. More... | |
| virtual | ~VirtualBase ()=default |
| The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
| VirtualBase (VirtualBase const &)=default | |
| VirtualBase (VirtualBase &&)=default | |
| VirtualBase & | operator= (VirtualBase const &)=default |
| VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
| ExpressionCOP | ex_ |
| numeric::expression_parser::UnaryExpression::UnaryExpression | ( | ) |
|
overridedefault |
| numeric::expression_parser::UnaryExpression::UnaryExpression | ( | ExpressionCOP | ex | ) |
|
overridevirtual |
Implements numeric::expression_parser::Expression.
References ex_.
| ExpressionCOP numeric::expression_parser::UnaryExpression::ex | ( | ) | const |
References ex_, and utility_exit_with_message.
Referenced by numeric::expression_parser::SquarerootExpression::differentiate(), numeric::expression_parser::AbsoluteValueExpression::differentiate(), numeric::expression_parser::SquarerootExpression::operator()(), numeric::expression_parser::AbsoluteValueExpression::operator()(), numeric::expression_parser::NotExpression::operator()(), and set_expression().
| void numeric::expression_parser::UnaryExpression::set_expression | ( | ExpressionCOP | ex | ) |
|
private |
Referenced by active_variables(), ex(), and set_expression().