Agroeye  1.0
Namespaces | Functions
ContainerMath.h File Reference
#include <algorithm>
#include <numeric>
#include <iterator>
#include <type_traits>
#include <cmath>
#include <iostream>
Include dependency graph for ContainerMath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 agroeye
 
 agroeye::algorithm
 
 agroeye::algorithm::math
 

Functions

template<class Iterator >
double agroeye::algorithm::math::mean (Iterator first, Iterator last)
 Metafunction computing the mean value. This function calculates the mean value of elements in given container pointed by pair of iterators. More...
 
template<class Iterator >
double agroeye::algorithm::math::mean (Iterator first, Iterator last, typename Iterator::value_type ignoreValue)
 Metafunction computing the mean value. This function calculates the mean value of elements in given container pointed by pair of iterators. From computation of mean value all values having ignoreValue are excluded. More...
 
template<class Iterator >
double agroeye::algorithm::math::stddev (Iterator first, Iterator last)
 Metafunction computing the standard deviation value. This function calculates the standard deviation value of elements in given container pointed by pair of iterators. More...
 
template<class Iterator >
double agroeye::algorithm::math::stddev (Iterator first, Iterator last, typename Iterator::value_type ignoreValue)
 Metafunction computing the standard deviation value. This function calculates the standard deviation value of elements in given container pointed by pair of iterators. From computation of standard deviation value all values having ignoreValue are excluded. More...