![]() |
Rosetta Utilities
2014.16.56682
|
#include <Arithmetic.hh>
Public Member Functions | |
| UnaryExpression () | |
| ~UnaryExpression () | |
| UnaryExpression (ExpressionCOP ex) | |
| void | set_expression (ExpressionCOP ex) |
| virtual std::list< std::string > | active_variables () const |
| ExpressionCOP | ex () const |
Public Member Functions inherited from numeric::expression_parser::Expression | |
| virtual | ~Expression () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. 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::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
Private Attributes | |
| ExpressionCOP | ex_ |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
| numeric::expression_parser::UnaryExpression::UnaryExpression | ( | ) |
| numeric::expression_parser::UnaryExpression::~UnaryExpression | ( | ) |
| numeric::expression_parser::UnaryExpression::UnaryExpression | ( | ExpressionCOP | ex | ) |
|
virtual |
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().
1.8.7