Rosetta Utilities  2014.35
Public Member Functions | List of all members
numeric::expression_parser::AbsoluteValueExpression Class Reference

#include <Arithmetic.hh>

Public Member Functions

 AbsoluteValueExpression ()
 AbsoluteValueExpression (ExpressionCOP ex)
virtual numeric::Real operator() () const
virtual ExpressionCOP differentiate (std::string const &varname) const
- Public Member Functions inherited from numeric::expression_parser::UnaryExpression
 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...
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
virtual ~ReferenceCount ()
 Destructor. More...
Size ref_count () const
 Reference count. More...

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...
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...

Constructor & Destructor Documentation

numeric::expression_parser::AbsoluteValueExpression::AbsoluteValueExpression ( )
numeric::expression_parser::AbsoluteValueExpression::AbsoluteValueExpression ( ExpressionCOP  ex)

Member Function Documentation

ExpressionCOP numeric::expression_parser::AbsoluteValueExpression::differentiate ( std::string const &  varname) const

Badly behaved expression around 0

Implements numeric::expression_parser::Expression.

References numeric::expression_parser::UnaryExpression::ex().

numeric::Real numeric::expression_parser::AbsoluteValueExpression::operator() ( ) const

The documentation for this class was generated from the following files: