gpa in double prescision

Dependencies:   mbed

LinearCharacteristics.h

Committer:
pmic
Date:
18 months ago
Revision:
28:c71b6856652e
Parent:
2:252a61a7e8f9

File content as of revision 28:c71b6856652e:

class LinearCharacteristics{
     public:
                    LinearCharacteristics(float k,float offset);
                    LinearCharacteristics(float k,float offset,float);
                    LinearCharacteristics(float k,float offset,float,float);
        float operator()(float u){
         return eval(u);
         }
        virtual     ~LinearCharacteristics();
        float       eval(float);
    
    private:
    
        float k;
        float offset;
        float lower_limit;
        float upper_limit;
};