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::AndExpression Class Reference

#include <Arithmetic.hh>

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

Public Member Functions

 AndExpression ()
 
 AndExpression (ExpressionCOP e1, ExpressionCOP e2)
 
 ~AndExpression () override
 
numeric::Real operator() () const override
 
ExpressionCOP differentiate (std::string const &varname) const override
 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 numeric::expression_parser::BinaryExpression
 BinaryExpression ()
 
 ~BinaryExpression () override
 
 BinaryExpression (ExpressionCOP e1, ExpressionCOP e2)
 
void set_first_expression (ExpressionCOP e1)
 
void set_second_expression (ExpressionCOP e2)
 
std::list< std::string > active_variables () const override
 
ExpressionCOP e1 () const
 
ExpressionCOP e2 () 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
 

Detailed Description

  1. Boolean Logic Operators

Constructor & Destructor Documentation

numeric::expression_parser::AndExpression::AndExpression ( )
  1. Boolean Logic Operators
numeric::expression_parser::AndExpression::AndExpression ( ExpressionCOP  e1,
ExpressionCOP  e2 
)
numeric::expression_parser::AndExpression::~AndExpression ( )
overridedefault

Member Function Documentation

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

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.

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

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