1 #ifndef PMPL_AVERAGE_H_
2 #define PMPL_AVERAGE_H_
44 T
Get() const noexcept;
47 const T&
Sum() const noexcept;
62 operator+=(const T& _value) noexcept {
85 Get() const noexcept {
86 return m_total / m_count;
94 Sum() const noexcept {
103 Count() const noexcept {
Average & AddSummedValues(const T &_sum, const size_t _count) noexcept
Definition: Average.h:73
T Get() const noexcept
Get the average.
Definition: Average.h:85
size_t Count() const noexcept
Get the number of elements included.
Definition: Average.h:103
Average & operator+=(const T &_value) noexcept
Definition: Average.h:62
const T & Sum() const noexcept
Get the total sum.
Definition: Average.h:94