yat
0.20.3pre
|
Functor to take average of a range. More...
#include <yat/statistics/Average.h>
Public Member Functions | |
template<typename InputIterator > | |
double | operator() (InputIterator first, InputIterator last) const |
Functor to take average of a range.
|
inline |
If range is weighted an AveragerWeighted is used else a Averager.
Type Requirements:
InputIterator
is a Readable IteratorInputIterator
is Single Pass Iterator