yat  0.10.4pre
Public Member Functions
theplu::yat::statistics::Average Struct Reference

Functor to take average of a range. More...

#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/statistics/Average.h>

List of all members.

Public Member Functions

template<typename InputIterator >
double operator() (InputIterator first, InputIterator last) const

Detailed Description

Functor to take average of a range.

Since:
New in yat 0.5

Member Function Documentation

template<typename InputIterator >
double theplu::yat::statistics::Average::operator() ( InputIterator  first,
InputIterator  last 
) const
inline

If range is weighted an AveragerWeighted is used else a Averager.

Returns:
average of range

The documentation for this struct was generated from the following file:

Generated on Mon Nov 11 2013 09:41:45 for yat by  doxygen 1.8.1