Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RT2_P3_students by
Diff: LinearCharacteristics.h
- Revision:
- 4:2cc56521aa16
- Parent:
- 2:769ce5f06d3e
- Child:
- 5:72982ede2ff6
--- a/LinearCharacteristics.h Mon Apr 09 09:26:58 2018 +0000 +++ b/LinearCharacteristics.h Tue Apr 10 11:44:36 2018 +0000 @@ -7,21 +7,12 @@ class LinearCharacteristics{ public: - LinearCharacteristics(float,float); - LinearCharacteristics(float,float,float,float); - float operator()(float u){ - return eval(u); - } - //... + //... virtual ~LinearCharacteristics(); - float eval(float); - - // here: the calculation function + // here: the calculation function private: // here: private functions and values... - float gain; - float offset; };