Module moving_window

Source

Structs§

MovingWindow
A moving window that maintains the last N values of type T and calculates their arithmetic mean. All values in the window have equal weight and the oldest value is dropped when the window exceeds its configured capacity.

Traits§

MovingWindowValue