gpa in double prescision

Dependencies:   mbed

Committer:
pmic
Date:
Tue Apr 10 12:25:03 2018 +0000
Revision:
28:c71b6856652e
Parent:
2:252a61a7e8f9
correct new functinality

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rtlabor 0:15be70d21d7c 1 class LinearCharacteristics{
rtlabor 0:15be70d21d7c 2 public:
rtlabor 0:15be70d21d7c 3 LinearCharacteristics(float k,float offset);
rtlabor 0:15be70d21d7c 4 LinearCharacteristics(float k,float offset,float);
rtlabor 0:15be70d21d7c 5 LinearCharacteristics(float k,float offset,float,float);
rtlabor 0:15be70d21d7c 6 float operator()(float u){
rtlabor 0:15be70d21d7c 7 return eval(u);
rtlabor 0:15be70d21d7c 8 }
rtlabor 0:15be70d21d7c 9 virtual ~LinearCharacteristics();
rtlabor 0:15be70d21d7c 10 float eval(float);
rtlabor 0:15be70d21d7c 11
rtlabor 0:15be70d21d7c 12 private:
rtlabor 0:15be70d21d7c 13
rtlabor 0:15be70d21d7c 14 float k;
rtlabor 0:15be70d21d7c 15 float offset;
rtlabor 0:15be70d21d7c 16 float lower_limit;
rtlabor 0:15be70d21d7c 17 float upper_limit;
rtlabor 0:15be70d21d7c 18 };