![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
v1
Diff: resources/nFilter.h
- Revision:
- 0:9da26936fdc0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resources/nFilter.h Mon Nov 29 13:13:55 2021 +0000 @@ -0,0 +1,17 @@ +#pragma once +#include <string> + +class nFilter{ +private: + float p_ValsToHold[9] = { }; + float p_ArrAvg = 0; + float p_Mid = 0; +public: + nFilter(float ValsToHold_[9]); + void sortAndFilter(); + void getAndCalcAvg(); + void mid(); + float getMid(); + float getAvg(); + auto Avg(int Fixed); +}; \ No newline at end of file