DUECA/DUSIME
|
Implementation of a scaling/converting device, that produces a discrete number of different output values depending on a continous input. More...
#include <Steps.hxx>
Public Member Functions | |
Steps (double yi[n], double ui[n]) | |
Constructor. | |
~Steps () | |
Destructor. | |
double | operator() (const double x) const |
The operator. | |
std::ostream & | print (std::ostream &os) const |
Print the object. | |
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.
dueca::Steps< n >::Steps | ( | double | yi[n], |
double | ui[n] ) |
Constructor.
yi | Set of possible output values for this device. |
ui | Input values corresponding to the output values. |