Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   
Scale::Linear< T > Struct Template Reference
#include <scale.h>
Inheritance diagram for Scale::Linear< T >:
[legend]Collaboration diagram for Scale::Linear< T >:
[legend]List of all members.
Detailed Description
template<class T = double>
 struct Scale::Linear< T >
Function object that linearly scales its arguments.
The multiplier and offset are public because they will often need to be extracted to give to functions which expect separate multipliers and offsets rather than a function object. 
Definition at line 41 of file scale.h.
 | 
 Public Methods | 
| 
  | Linear (const T &mult=T(1), const T &off=T(0)) | 
| 
T  | operator() (T val) const | 
 Public Attributes | 
| 
T  | multiplier | 
| 
T  | offset | 
The documentation for this struct was generated from the following file:
Generated on Mon Jan 20 02:37:46 2003 for RF-LISSOM by
1.3-rc2