diff options
author | Michael Abed <michaelabed@gmail.com> | 2012-03-03 23:32:27 -0500 |
---|---|---|
committer | Michael Abed <michaelabed@gmail.com> | 2012-03-03 23:32:27 -0500 |
commit | f2566da91396bc07356601794fd5db858a78f1f3 (patch) | |
tree | 6d18e7e9a517163dee5929eef6617cce12cfb415 /statistics.h | |
parent | 12993b517ff2f8ec6608c2deaf3e988c64f7f164 (diff) | |
download | ec327-lab2-f2566da91396bc07356601794fd5db858a78f1f3.tar.gz ec327-lab2-f2566da91396bc07356601794fd5db858a78f1f3.tar.bz2 ec327-lab2-f2566da91396bc07356601794fd5db858a78f1f3.zip |
make basically everything work
Diffstat (limited to 'statistics.h')
-rw-r--r-- | statistics.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/statistics.h b/statistics.h index e69de29..042e52d 100644 --- a/statistics.h +++ b/statistics.h @@ -0,0 +1,17 @@ + +#ifndef STATISTICS_H +#define STATISTICS_H + +#include <iostream> +#include <fstream> +#include <ctime> +#include <cstdlib> + +void write_data(const char *filename, unsigned int N, unsigned int M); + +float get_mean(const char *filename); +float get_minimum(const char *filename); +float get_maximum(const char *filename); +float get_mode(const char *filename); + +#endif |