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 19 of file BinaryOperator.h.
|
inline |
Definition at line 28 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 32 of file BinaryOperator.h.
References BinaryOperator().
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 72 of file BinaryOperator.h.
|
inline |
Definition at line 37 of file BinaryOperator.h.
References left_.
|
inline |
Definition at line 42 of file BinaryOperator.h.
References right_.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 98 of file BinaryOperator.h.
|
inline |
Definition at line 47 of file BinaryOperator.h.
References symb_.
Referenced by bpp::ComputationTree::isAllSum().
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 52 of file BinaryOperator.h.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 130 of file BinaryOperator.h.
|
private |
Definition at line 25 of file BinaryOperator.h.
Referenced by getLeftSon().
|
private |
Definition at line 25 of file BinaryOperator.h.
Referenced by getRightSon().
|
private |
Definition at line 23 of file BinaryOperator.h.
Referenced by getSymbol().