Agroeye  1.0
Functions
agroeye::algorithm::math Namespace Reference

Functions

template<class Iterator >
double 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 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 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 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...
 

Function Documentation

§ mean() [1/2]

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.

Parameters
firstThe first element
lastNext element behid the last
Here is the caller graph for this function:

§ mean() [2/2]

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.

Parameters
firstThe first element
lastNext element behid the last
ignoreValueThe value excluded from computin mean value
Here is the call graph for this function:

§ stddev() [1/2]

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.

Parameters
firstThe first element
lastNext element behid the last
Here is the call graph for this function:
Here is the caller graph for this function:

§ stddev() [2/2]

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.

Parameters
firstThe first element
lastNext element behid the last
ignoreValueThe value excluded from computin mean value
Here is the call graph for this function: