#include "../defs.h"
#include <algorithm>
#include <iostream>
#include <limits>
#include <cmath>
#include <cassert>
#include "statistics.ipp"
Go to the source code of this file.
Namespaces | |
namespace | ads |
Functions | |
template<typename InputIterator> | |
std::iterator_traits< InputIterator >::value_type | ads::computeMinimum (InputIterator beginning, InputIterator end) |
Compute the minimum value for the elements in the range. | |
template<typename InputIterator> | |
std::iterator_traits< InputIterator >::value_type | ads::computeMaximum (InputIterator beginning, InputIterator end) |
Compute the maximum value for the elements in the range. | |
template<typename InputIterator, typename T> | |
void | ads::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 | ads::computeMean (InputIterator beginning, InputIterator end) |
Compute the mean value for the elements in the range. | |
template<typename InputIterator, typename T> | |
void | ads::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 | ads::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 | ads::computeVariance (ForwardIterator beginning, ForwardIterator end) |
Compute the variance for the elements in the range. | |
template<typename ForwardIterator, typename T> | |
void | ads::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. |