Osiris Framework
0.3
|
Template class to handle statistical data. More...
#include <OsirisSDK/OStats.hpp>
Public Member Functions | |
OStats (int sampleSize=OSTATS_DEFAULT_SAMPLE_SIZE) | |
Class constructor. More... | |
virtual | ~OStats () |
Class destructor. | |
void | setSampleSize (int size) |
Set sample size. | |
int | sampleSize () const |
Returns sample size. | |
void | add (VType val) |
Add new entry to the ensamble. | |
float | average () const |
Average value. | |
float | stdev () const |
Standard deviation. | |
Template class to handle statistical data.
|
inline |
Class constructor.
sampleSize | Number of samples considered to provide statistical data. |