Torc
0.1
|
Compute a running average. More...
#include <torcmaths.h>
Public Member Functions | |
TorcAverage (int MaxCount=0) | |
double | AddValue (T Value) |
double | GetAverage (void) |
void | Reset (void) |
Compute a running average.
If MaxCount is set, the average will be limited to MaxCount number of most recent samples.
Definition at line 11 of file torcmaths.h.
|
inlineexplicit |
Definition at line 14 of file torcmaths.h.
|
inline |
Definition at line 22 of file torcmaths.h.
|
inline |
Definition at line 38 of file torcmaths.h.
|
inline |
Definition at line 43 of file torcmaths.h.