Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
numeric::expression_parser::AbsoluteValueExpression Class Reference

#include <Arithmetic.hh>

Inheritance diagram for numeric::expression_parser::AbsoluteValueExpression:
Inheritance graph
[legend]

Public Member Functions

 AbsoluteValueExpression ()
 
 AbsoluteValueExpression (ExpressionCOP ex)
 
numeric::Real operator() () const override
 
ExpressionCOP differentiate (std::string const &varname) const override
 
- Public Member Functions inherited from numeric::expression_parser::UnaryExpression
 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...
 
- 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
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

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
overridevirtual

Badly behaved expression around 0

Implements numeric::expression_parser::Expression.

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

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

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