Implementation of a scaling/converting device, that produces a discrete number of different output values depending on a continous input.
More...
|
| | Steps (double yi[n], double ui[n]) |
| | Constructor. More...
|
| |
|
template<typename A > |
| | Steps (const A &yi, const A &ui) |
| | Templated constructor with array-like stuff.
|
| |
| | ~Steps () |
| | Destructor. More...
|
| |
| double | operator() (const double x) const |
| | The operator. More...
|
| |
|
std::ostream & | print (std::ostream &os) const |
| | Print the object.
|
| |
template<int n>
class dueca::Steps< n >
Implementation of a scaling/converting device, that produces a discrete number of different output values depending on a continous input.
This can be used to e.g. implement IO signals for a flap handle.
◆ Steps()
Constructor.
- Parameters
-
| yi | Set of possible output values for this device. |
| ui | Input values corresponding to the output values. |
◆ ~Steps()
◆ operator()()
template<int n>
| double dueca::Steps< n >::operator() |
( |
const double |
x | ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /usr/src/packages/BUILD/extra/Steps.hxx