#include <binaryItem.h>
|
| BinaryItem ()=default |
| constructor More...
|
|
| BinaryItem (const Item &lhsOperand, const Item &rhsOperand, const BINARY &binaryOperator) |
| constructor with given operands and operator More...
|
|
| ~BinaryItem ()=default |
| destructor More...
|
|
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 More...
|
|
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 More...
|
|
◆ BinaryItem() [1/2]
irafhy::BinaryItem::BinaryItem |
( |
| ) |
|
|
default |
◆ BinaryItem() [2/2]
irafhy::BinaryItem::BinaryItem |
( |
const Item & |
lhsOperand, |
|
|
const Item & |
rhsOperand, |
|
|
const BINARY & |
binaryOperator |
|
) |
| |
constructor with given operands and operator
- Parameters
-
lhsOperand | left hand side operand |
rhsOperand | right hand side operand |
binaryOperator | given operator |
References lhsOperand_, operator_, and rhsOperand_.
◆ ~BinaryItem()
irafhy::BinaryItem::~BinaryItem |
( |
| ) |
|
|
default |
◆ arithmetic()
std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> irafhy::BinaryItem::arithmetic |
( |
| ) |
const |
◆ value()
capd::interval irafhy::BinaryItem::value |
( |
const capd::interval & |
t, |
|
|
const std::vector< capd::interval > & |
in, |
|
|
const std::vector< capd::interval > & |
params |
|
) |
| |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const BinaryItem & |
rhs |
|
) |
| |
|
friend |
out the given binary item to standard out stream
- Parameters
-
out | given out stream |
rhs | given binary item |
- Returns
- resulting out stream
◆ lhsOperand_
std::shared_ptr<Item> irafhy::BinaryItem::lhsOperand_ |
|
private |
◆ operator_
BINARY irafhy::BinaryItem::operator_ |
|
private |
◆ rhsOperand_
std::shared_ptr<Item> irafhy::BinaryItem::rhsOperand_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/representation/formal/basic/entity/binaryItem.h
- /home/jianqiang/CLionProjects/irafhy/src/representation/formal/basic/entity/binaryItem.cpp