degate  0.1.2
Namespaces | Functions
Statistics.h File Reference
#include <vector>
#include <algorithm>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  degate
 

The namespace 'degate' is the namespace for everything that belongs to libdegate.


Functions

template<typename T >
degate::median (std::vector< T > &v)
 Calculate the median of a vector.
template<typename T >
degate::average (std::vector< T > const &v)
 Calculate the average of a vector.
template<typename T >
degate::standard_deviation (std::vector< T > const &v)
 Calculate the standard deviation of a vector.