yat  0.21pre
Public Member Functions | List of all members
theplu::yat::statistics::Average Struct Reference

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
 

Detailed Description

Functor to take average of a range.

Since
New in yat 0.5

Member Function Documentation

◆ operator()()

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

Type Requirements:


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

Generated on Wed Jan 25 2023 03:34:29 for yat by  doxygen 1.8.14