Skyward boardcore
|
Computes on-line statistics of a dataset. More...
#include <Stats.h>
Public Member Functions | |
Stats () | |
void | add (float data) |
void | reset () |
StatsResult | getStats () const |
Return statistics of the elements added so far. | |
Computes on-line statistics of a dataset.
This class should theoretically work with datasets of up to 2^32-1 elements.
StatsResult Boardcore::Stats::getStats | ( | ) | const |