1 #ifndef REPRESENTATION_FORMAL_BASIC_ENTITY_BINARY_ITEM_H 2 #define REPRESENTATION_FORMAL_BASIC_ENTITY_BINARY_ITEM_H 5 #include <capd/capdlib.h> 48 [[nodiscard]] std::function<
49 capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[],
int, capd::autodiff::Node[],
int)>
58 capd::interval
value(
const capd::interval& t,
59 const std::vector<capd::interval>& in,
60 const std::vector<capd::interval>& params);
70 #endif //REPRESENTATION_FORMAL_BASIC_ENTITY_BINARY_ITEM_H
~BinaryItem()=default
destructor
std::shared_ptr< Item > rhsOperand_
pointer to the right hand side operand
Definition: binaryItem.h:22
Definition: binaryItem.h:12
BINARY operator_
what kind of operation of the binary item indicates
Definition: binaryItem.h:26
friend std::ostream & operator<<(std::ostream &out, const BinaryItem &rhs)
out the given binary item to standard out stream
Definition: binaryItem.cpp:91
capd::interval value(const capd::interval &t, const std::vector< capd::interval > &in, const std::vector< capd::interval > ¶ms)
get the value of the current binary item
Definition: binaryItem.cpp:68
Definition: condition.cpp:3
std::shared_ptr< Item > lhsOperand_
pointer to the left hand side operand
Definition: binaryItem.h:18
std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> arithmetic() const
get the arithmetic function of the binary item
Definition: binaryItem.cpp:16
BinaryItem()=default
constructor
BINARY
supported binary math functions
Definition: enum.h:46