Logo Search packages:      
Sourcecode: kcollectd version File versions  Download package

Public Member Functions | Private Attributes

linMap Class Reference

#include <misc.h>

List of all members.

Public Member Functions

 linMap (double x1, double y1, double x2, double y2)
double m () const
double operator() (double x) const

Private Attributes

double m_
double t_

Detailed Description

linear mapping from range [x1, x2] to range [y1, y2]

Definition at line 38 of file misc.h.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index