Skip to content

Function final_mean

function final_mean(T, size_t) base

template <typename T>
KFR_INTRINSIC T final_mean(T value, size_t size)

Finalizer for mean .

Divides the accumulated sum by the number of elements.

Parameters
value Accumulated sum.
size Number of elements.
Returns
The arithmetic mean.

Fully qualified name: kfr::final_mean(T, size_t)

Declared at base/reduce.hpp:47

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.