# moving_average **Repository Path**: mirrors_arvidn/moving_average ## Basic Information - **Project Name**: moving_average - **Description**: an implementation of integer moving average algorithm - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README moving_average ============== an implementation of integer moving average algorithm. To use, construct a ``moving_average`` object. The template argument is the inverse of the gain factor (only values > 1 makse sense). For each sameple, call ``add_sample()``. To query the current estimated average, call ``mean()``. To query the current estimated average deviation, call ``avg_deviation()``. For more information, see `this blog post`_. .. _`this blog post`: http://blog.libtorrent.org/2014/09/running-averages/