Calculates the exponential moving average (EMA) for values added with append.
More...
#include <util/ExponentialMovingAverage.hpp>
Calculates the exponential moving average (EMA) for values added with append.
https://en.wikipedia.org/wiki/Exponential_smoothing
◆ ExponentialMovingAverage()
| mrmd::util::ExponentialMovingAverage::ExponentialMovingAverage |
( |
const real_t & |
weightingFactor | ) |
|
|
inlineexplicit |
◆ append()
| void mrmd::util::ExponentialMovingAverage::append |
( |
const real_t & |
val | ) |
|
|
inline |
◆ operator real_t()
| mrmd::util::ExponentialMovingAverage::operator real_t |
( |
| ) |
const |
|
inline |
◆ toReal()
| real_t mrmd::util::ExponentialMovingAverage::toReal |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: