Ruprecht Altenburger
/
RT2_P3_students_G4
Template for group 4
Fork of RT2_P3_students by
Diff: LinearCharacteristics.h
- Revision:
- 2:769ce5f06d3e
- Parent:
- 1:a30512c3ac73
- Child:
- 4:2cc56521aa16
--- a/LinearCharacteristics.h Mon Apr 09 05:50:04 2018 +0000 +++ b/LinearCharacteristics.h Mon Apr 09 08:01:29 2018 +0000 @@ -7,13 +7,21 @@ class LinearCharacteristics{ public: - //... + LinearCharacteristics(float,float); + LinearCharacteristics(float,float,float,float); + float operator()(float u){ + return eval(u); + } //... - virtual ~LinearCharacteristics(); + virtual ~LinearCharacteristics(); + float eval(float); + // here: the calculation function private: // here: private functions and values... + float gain; + float offset; };