This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
double mean(const double *x, long n) {
|
||||
double total = 0.0;
|
||||
for (long i = 0; i < n; i++) total += x[i];
|
||||
return total / (double)n;
|
||||
}
|
||||
Reference in new issue
Block a user