Functions | |
template<typename T> T | sqr (T a) |
The square of the value. | |
template<typename T> T | median (std::vector< T > v) |
Median of the values in a vector. | |
template<typename T> T | abs (const T &value) |
Absolute value. | |
template<typename T> T | max (const T &a, const T &b) |
Maximum of two values. |
|
Median of the values in a vector.
|