Files
mlpack/fastlib/branches/fastlib-old/math/statistics.h
T
Ryan Curtin f6864dd435 Move fastlib-old (originally 'fastlib') to fastlib/branches/fastlib-old where it
will sit until the end of time and nobody will touch it because it's old
2010-01-31 22:31:55 +00:00

27 lines
523 B
C++

// Copyright 2007 Georgia Institute of Technology. All rights reserved.
// ABSOLUTELY NOT FOR DISTRIBUTION
/**
* @file statistics.h
*
* Statistics utilities.
*/
#ifndef MATH_STATISTICS_H
#define MATH_STATISTICS_H
#include "base/base.h"
#include "la/matrix.h"
#include <math.h>
namespace math {
/**
* Computes the mean value of a vector. Don't forget initializing V before using.
*
* @param V the input vector
* @return the mean value
*/
double Mean(Vector V);
};
#endif