Template to avoid (delay) scaling operations on linear objects. More...
#include <scaled.h>
Public Member Functions | |
scaled (const T &data, double scale=1.0) | |
operator T () const | |
apply scale | |
scaled< T > & | operator*= (double s) |
merge scale operation into pending scale factor | |
Public Attributes | |
const T & | data |
linear object reference | |
double | scale |
pending scale factor | |
Template to avoid (delay) scaling operations on linear objects.