A functor which computes the geometric average of all entries in a container. More...
#include <misc.hpp>
Public Member Functions | |
template<typename ContainerType > | |
double | operator() (ContainerType const &cont) const |
A functor which computes the geometric average of all entries in a container.
The container is required to provide STL-compatible forward-iterators and a member function size() returning the number of elements. Note that all entries need to be non-negative for even container sizes.
|
inline |