#include <moving_average.h>
Public Member Functions | |
MovingAverageWeighted (uint16_t size) | |
Public Member Functions inherited from MovingAverageSimple< T > | |
virtual void | addElement (T element) |
virtual bool | calcMovingAverage (T &average) const |
MovingAverageSimple (uint16_t size) | |
virtual void | reset () |
Public Member Functions inherited from MovingAverageBase< T > | |
MovingAverageBase () | |
Private Member Functions | |
double | triangle (uint16_t n) |
Additional Inherited Members | |
Protected Attributes inherited from MovingAverageSimple< T > | |
std::deque< T > | s_ |
uint16_t | size_ |
std::deque< double > | weighting_ |
Definition at line 97 of file moving_average.h.
|
inlineexplicit |
Definition at line 100 of file moving_average.h.
|
inlineprivate |
Definition at line 111 of file moving_average.h.