statistics.h File Reference

Statistics functions. More...

#include "../defs.h"
#include <algorithm>
#include <iostream>
#include <limits>
#include <cmath>
#include <cassert>
#include "statistics.ipp"

Go to the source code of this file.

Functions

template<typename InputIterator >
std::iterator_traits
< InputIterator >::value_type 
computeMinimum (InputIterator beginning, InputIterator end)
 Compute the minimum value for the elements in the range.
template<typename InputIterator >
std::iterator_traits
< InputIterator >::value_type 
computeMaximum (InputIterator beginning, InputIterator end)
 Compute the maximum value for the elements in the range.
template<typename InputIterator , typename T >
void computeMinimumAndMaximum (InputIterator beginning, InputIterator end, T *minimum, T *maximum)
 Compute the minimum and maximum values for the elements in the range.
template<typename InputIterator >
std::iterator_traits
< InputIterator >::value_type 
computeMean (InputIterator beginning, InputIterator end)
 Compute the mean value for the elements in the range.
template<typename InputIterator , typename T >
void computeMinimumMaximumAndMean (InputIterator beginning, InputIterator end, T *minimum, T *maximum, T *mean)
 Compute the minimum, maximum, and mean for the elements in the range.
template<typename ForwardIterator , typename T >
void computeMeanAndVariance (ForwardIterator beginning, ForwardIterator end, T *mean, T *variance)
 Compute the mean and variance for the elements in the range.
template<typename ForwardIterator >
std::iterator_traits
< ForwardIterator >
::value_type 
computeVariance (ForwardIterator beginning, ForwardIterator end)
 Compute the variance for the elements in the range.
template<typename ForwardIterator , typename T >
void computeMeanAbsoluteDeviationVarianceSkewAndCurtosis (ForwardIterator beginning, ForwardIterator end, T *mean, T *absoluteDeviation, T *variance, T *skew, T *curtosis)
 Compute the mean, absolute deviation, variance, skew and curtosis for the elements in the range.

Detailed Description

Statistics functions.

Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3