Fertig

Dependencies:   mbed

Fork of RT2_P3_students by RT2_P3_students

Revision:
3:769ce5f06d3e
Parent:
1:a30512c3ac73
Child:
6: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;
 };