Scope
|
#include <helpers.h>
Public Member Functions | |
Scaler (const double &_minin, const double &_maxin) | |
T | operator() (const double &v) const |
Public Attributes | |
const double | minin |
const double | maxin |
const double | maxout |
const double | minout |
const double | rangerelation |
Class for scaling to the full range of a datatype.
E.g. to scale -1.0 ... +1.0 to 0..65535 use Scaler<uint16_t> test(-1.0, 1.0).
|
inline |
const double Scaler< T >::minin |
const double Scaler< T >::maxin |
const double Scaler< T >::maxout |
const double Scaler< T >::minout |
const double Scaler< T >::rangerelation |