Kristof T'Jonck / Mbed 2 deprecated CYS_Receiver

Dependencies:   xtoff2 RF24Network mbed

Fork of xtoff3 by pieter Berteloot

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Maths.h Source File

Maths.h

00001 #ifndef Maths_h
00002 #define Maths_h
00003 
00004 class Maths
00005 {
00006 private:
00007 
00008 
00009 public:
00010     static int comp(const void* elem1, const void* elem2);
00011     static float mean(float *samples, int n, int n2);
00012     static float median(float *samples, int n);
00013     static float stdev(float * samples, int n); 
00014     static float meanNoOutliers(float data[] , int n);  
00015         
00016 };
00017 
00018 #endif
00019 
00020 
00021 
00022 
00023