#include <constant.h>
|
| | Constant () |
| | constructor More...
|
| |
| | Constant (double value) |
| | constructor with given value More...
|
| |
| | ~Constant ()=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 constant 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 constant More...
|
| |
◆ Constant() [1/2]
| irafhy::Constant::Constant |
( |
| ) |
|
constructor
References value_.
◆ Constant() [2/2]
| irafhy::Constant::Constant |
( |
double |
value | ) |
|
|
explicit |
constructor with given value
- Parameters
-
| value | the value of the constant |
References value(), and value_.
◆ ~Constant()
| irafhy::Constant::~Constant |
( |
| ) |
|
|
default |
◆ arithmetic()
| std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> irafhy::Constant::arithmetic |
( |
| ) |
const |
get the arithmetic function of the constant item
- Returns
- the arithmetic function of the constant item
References value_.
◆ value()
| capd::interval irafhy::Constant::value |
( |
const capd::interval & |
t, |
|
|
const std::vector< capd::interval > & |
in, |
|
|
const std::vector< capd::interval > & |
params |
|
) |
| |
get the value of the current constant
- Parameters
-
| t | time variable |
| in | values of the given variables |
| params | other necessary parameters |
- Returns
- the value of the current constant
References value_.
Referenced by Constant().
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Constant & |
rhs |
|
) |
| |
|
friend |
out the given constant to the standard out stream
- Parameters
-
| out | given out stream |
| rhs | given constant |
- Returns
- resulting out stream
◆ value_
| double irafhy::Constant::value_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/representation/formal/basic/entity/constant.h
- /home/jianqiang/CLionProjects/irafhy/src/representation/formal/basic/entity/constant.cpp