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.
Dependencies: QEI2 PID IMU6050Ver11 Watchdog VL53L1X_Filter ros_lib_kinetic
Dependents: Version1-6 Version1-7
Statistics.h
00001 #ifndef STATISTICS_h 00002 #define STATISTICS_h 00003 00004 #include "mbed.h" 00005 00006 class Statistics 00007 { 00008 public: 00009 //Defining default constructor 00010 Statistics(int* Input, double dataLength, int firstDataPointIn = 0); 00011 //Defining methods 00012 double stdev(); 00013 double mean(); 00014 00015 private: 00016 int* data; //pointer to data 00017 double dataLength; 00018 int firstDataPoint; 00019 00020 00021 }; 00022 00023 #endif //STATISTICS_h
Generated on Thu Jul 21 2022 09:14:49 by
1.7.2