![]() |
Rosetta Utilities
2014.16.56682
|
#include <Arithmetic.hh>
Public Member Functions | |
| ITEExpression (ExpressionCOP condition, ExpressionCOP then_clause, ExpressionCOP else_clause) | |
| virtual numeric::Real | operator() () const |
| virtual ExpressionCOP | differentiate (std::string const &varname) const |
| 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... | |
| ExpressionCOP | condition () const |
| ExpressionCOP | then_expression () const |
| ExpressionCOP | else_expression () const |
| virtual std::list< std::string > | active_variables () const |
Public Member Functions inherited from numeric::expression_parser::Expression | |
| virtual | ~Expression () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. 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 | condition_ |
| ExpressionCOP | then_expression_ |
| ExpressionCOP | else_expression_ |
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::ITEExpression::ITEExpression | ( | ExpressionCOP | condition, |
| ExpressionCOP | then_clause, | ||
| ExpressionCOP | else_clause | ||
| ) |
|
virtual |
Implements numeric::expression_parser::Expression.
References else_expression_, and then_expression_.
| ExpressionCOP numeric::expression_parser::ITEExpression::condition | ( | ) | const |
References condition_.
|
virtual |
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.
| ExpressionCOP numeric::expression_parser::ITEExpression::else_expression | ( | ) | const |
References else_expression_.
|
virtual |
Implements numeric::expression_parser::Expression.
References else_expression_, and then_expression_.
| ExpressionCOP numeric::expression_parser::ITEExpression::then_expression | ( | ) | const |
References then_expression_.
|
private |
Referenced by condition().
|
private |
Referenced by active_variables(), else_expression(), and operator()().
|
private |
Referenced by active_variables(), operator()(), and then_expression().
1.8.7