#include <unaryItem.h>
|
| | UnaryItem ()=default |
| | constructor More...
|
| |
| | UnaryItem (const Item &operand, const UNARY &unaryOperator) |
| | constructor with given operand and operator More...
|
| |
| | ~UnaryItem ()=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 unary 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 unary item More...
|
| |
◆ UnaryItem() [1/2]
| irafhy::UnaryItem::UnaryItem |
( |
| ) |
|
|
default |
◆ UnaryItem() [2/2]
| irafhy::UnaryItem::UnaryItem |
( |
const Item & |
operand, |
|
|
const UNARY & |
unaryOperator |
|
) |
| |
constructor with given operand and operator
- Parameters
-
| operand | given operand |
| unaryOperator | given operator |
References operand_, and operator_.
◆ ~UnaryItem()
| irafhy::UnaryItem::~UnaryItem |
( |
| ) |
|
|
default |
◆ arithmetic()
| std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> irafhy::UnaryItem::arithmetic |
( |
| ) |
const |
get the arithmetic function of the unary item
- Returns
- the arithmetic function of the unary item
References irafhy::ACOS, irafhy::ACOSH, irafhy::ACOT, irafhy::ACOTH, irafhy::ASIN, irafhy::ASINH, irafhy::ATAN, irafhy::ATANH, irafhy::COS, irafhy::COSH, irafhy::COT, irafhy::COTH, irafhy::LN, irafhy::LOG, irafhy::NEXP, operand_, operator_, irafhy::OPPOSITE, irafhy::SIN, irafhy::SINH, irafhy::SQR, irafhy::SQRT, irafhy::TAN, and irafhy::TANH.
◆ value()
| capd::interval irafhy::UnaryItem::value |
( |
const capd::interval & |
t, |
|
|
const std::vector< capd::interval > & |
in, |
|
|
const std::vector< capd::interval > & |
params |
|
) |
| |
get the value of the current unary item
- Parameters
-
| t | time variable |
| in | values of the given variables |
| params | other necessary parameters |
- Returns
- the value of the current unary item
References irafhy::ACOS, irafhy::ACOSH, irafhy::ACOT, irafhy::ACOTH, irafhy::ASIN, irafhy::ASINH, irafhy::ATAN, irafhy::ATANH, irafhy::COS, irafhy::COSH, irafhy::COT, irafhy::COTH, irafhy::LN, irafhy::LOG, irafhy::NEXP, operand_, operator_, irafhy::OPPOSITE, irafhy::SIN, irafhy::SINH, irafhy::SQR, irafhy::SQRT, irafhy::TAN, and irafhy::TANH.
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const UnaryItem & |
rhs |
|
) |
| |
|
friend |
out the given unary item to standard out stream
- Parameters
-
| out | given out stream |
| rhs | given unary item |
- Returns
- resulting out stream
◆ operand_
| std::shared_ptr<Item> irafhy::UnaryItem::operand_ |
|
private |
◆ operator_
| UNARY irafhy::UnaryItem::operator_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/representation/formal/basic/entity/unaryItem.h
- /home/jianqiang/CLionProjects/irafhy/src/representation/formal/basic/entity/unaryItem.cpp