DUECA/DUSIME
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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.
 
 ~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] )

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: