indigoX
numerics.hpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <iterator>
#include <numeric>
#include <string>
#include <vector>
+ Include dependency graph for numerics.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 indigox
 Namespace for all graph related functionality.
 

Functions

template<class Iter >
double CalculateMean (Iter begin, Iter end)
 Calculate the mean of a range of numbers. More...
 
template<class RandomIter >
double CalculateMedian (RandomIter begin, RandomIter end)
 Calculate the median of a range of numbers. More...
 
template<class Iter >
double CalculateStandardDeviation (Iter begin, Iter end)
 
template<typename InputIter , typename T >
size_t Combinations (InputIter first, InputIter last, size_t r, std::vector< std::vector< T >> &out)