1 #ifndef REPRESENTATION_FORMAL_BASIC_ENTITY_UNARY_ITEM_H 2 #define REPRESENTATION_FORMAL_BASIC_ENTITY_UNARY_ITEM_H 5 #include <capd/capdlib.h> 43 [[nodiscard]] std::function<
44 capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[],
int, capd::autodiff::Node[],
int)>
53 capd::interval
value(
const capd::interval& t,
54 const std::vector<capd::interval>& in,
55 const std::vector<capd::interval>& params);
65 #endif //REPRESENTATION_FORMAL_BASIC_ENTITY_UNARY_ITEM_H
std::shared_ptr< Item > operand_
pointer to the operand
Definition: unaryItem.h:18
UnaryItem()=default
constructor
std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> arithmetic() const
get the arithmetic function of the unary item
Definition: unaryItem.cpp:13
UNARY
supported unary math functions
Definition: enum.h:18
friend std::ostream & operator<<(std::ostream &out, const UnaryItem &rhs)
out the given unary item to standard out stream
Definition: unaryItem.cpp:317
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 unary item
Definition: unaryItem.cpp:261
Definition: condition.cpp:3
UNARY operator_
what kind of operation of the unary item indicates
Definition: unaryItem.h:22
Definition: unaryItem.h:12
~UnaryItem()=default
destructor