Template Class RollingMeanAccumulator
Defined in File rolling_mean_accumulator.hpp
Class Documentation
-
template<typename T>
class RollingMeanAccumulator Computes the mean of the last accumulated elements.
This is a simplified version of boost’s rolling mean accumulator, written to avoid dragging in boost dependencies.
Public Functions
-
inline explicit RollingMeanAccumulator(size_t rolling_window_size)
Constructs the rolling mean accumulator with a specified window size.
- Parameters:
rolling_window_size – [in] The unsigned integral length of the accumulator’s window length.
-
inline explicit RollingMeanAccumulator(size_t rolling_window_size)