bpp-core3
3.0.0
|
Binary arithmetic operator for numerical computation. More...
#include <Bpp/Numeric/Function/Operators/BinaryOperator.h>
Public Member Functions | |
BinaryOperator (char symb, std::shared_ptr< Operator > left, std::shared_ptr< Operator > right) | |
BinaryOperator * | clone () const |
Create a copy of this object and send a pointer to it. More... | |
std::shared_ptr< Operator > | getLeftSon () |
std::shared_ptr< Operator > | getRightSon () |
char | getSymbol () const |
double | getValue () const |
double | getFirstOrderDerivative (const std::string &variable) const |
double | getSecondOrderDerivative (const std::string &variable) const |
std::string | output () const |
Private Attributes | |
char | symb_ |
std::shared_ptr< Operator > | left_ |
std::shared_ptr< Operator > | right_ |
Binary arithmetic operator for numerical computation.
Definition at line 55 of file BinaryOperator.h.
|
inline |
Definition at line 64 of file BinaryOperator.h.
Referenced by clone().
|
inlinevirtual |
Create a copy of this object and send a pointer to it.
Implements bpp::Clonable.
Definition at line 68 of file BinaryOperator.h.
References BinaryOperator().
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 108 of file BinaryOperator.h.
|
inline |
Definition at line 73 of file BinaryOperator.h.
References left_.
|
inline |
Definition at line 78 of file BinaryOperator.h.
References right_.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 134 of file BinaryOperator.h.
|
inline |
Definition at line 83 of file BinaryOperator.h.
References symb_.
Referenced by bpp::ComputationTree::isAllSum().
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 88 of file BinaryOperator.h.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 166 of file BinaryOperator.h.
|
private |
Definition at line 61 of file BinaryOperator.h.
Referenced by getFirstOrderDerivative(), getLeftSon(), getSecondOrderDerivative(), getValue(), and output().
|
private |
Definition at line 61 of file BinaryOperator.h.
Referenced by getFirstOrderDerivative(), getRightSon(), getSecondOrderDerivative(), getValue(), and output().
|
private |
Definition at line 59 of file BinaryOperator.h.
Referenced by getFirstOrderDerivative(), getSecondOrderDerivative(), getSymbol(), getValue(), and output().