dd
Dependencies: xtoff2 RF24Network mbed
Fork of xtoff3 by
Diff: Maths.h
- Revision:
- 16:691649d8a3da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Maths.h Wed Sep 05 07:50:27 2018 +0000 @@ -0,0 +1,23 @@ +#ifndef Maths_h +#define Maths_h + +class Maths +{ +private: + + +public: + static int comp(const void* elem1, const void* elem2); + static float mean(float *samples, int n, int n2); + static float median(float *samples, int n); + static float stdev(float * samples, int n); + static float meanNoOutliers(float data[] , int n); + +}; + +#endif + + + + +