finished commenting on the .cpp file and changed the statistics library name

Dependencies:   QEI2 PID IMU6050Ver11 Watchdog VL53L1X_Filter ros_lib_kinetic

Dependents:   Version1-3 Version1-5

Statistics/Statistics.h

Committer:
JesiMiranda
Date:
2019-07-09
Revision:
37:e0e6d3fe06a2
Parent:
35:5a2fed4c2e9f

File content as of revision 37:e0e6d3fe06a2:

#ifndef STATISTICS_h               
#define STATISTICS_h              
 
#include "mbed.h"

class Statistics 
{ 
public: 
    //Defining default constructor
    Statistics(int* Input, double dataLength, int firstDataPointIn = 0); 
    //Defining methods
    double stdev();
    double mean();
    
  private:
   int* data;                                       //pointer to data
   double dataLength;
   int firstDataPoint;

    
};

#endif   //STATISTICS_h