DUECA/DUSIME
Loading...
Searching...
No Matches
dueca::Steps< n > Class Template Reference

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.
template<typename A>
 Steps (const A &yi, const A &ui)
 Templated constructor with array-like stuff.
 ~Steps ()
 Destructor.
double operator() (const double x) const
 The operator.
std::ostream & print (std::ostream &os) const
 Print the object.

Detailed Description

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.

Constructor & Destructor Documentation

◆ Steps()

template<int n>
dueca::Steps< n >::Steps ( double yi[n],
double ui[n] )
inline

Constructor.

Parameters
yiSet of possible output values for this device.
uiInput values corresponding to the output values.

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/dueca-4.2.8-build/dueca-4.2.8/extra/Steps.hxx