
A structure to hold several descriptive statistics together. More...
#include <Robots/LoBot/util/LoStats.H>

Public Member Functions | |
| generic_stats (int n=0, T sum=0, T ssq=0, T mean=0, T stdev=0) | |
| Constructor. | |
Public Attributes | |
| int | n |
| T | sum |
| T | ssq |
| T | mean |
| T | stdev |
A structure to hold several descriptive statistics together.
In some situations, we might want to know more than just the mean and standard deviation of the values held by a container. The lobot::generic_stats structure holds several other useful values in addition to the mean and standard deviation.
Definition at line 68 of file LoStats.H.
| lobot::generic_stats< T >::generic_stats | ( | int | n = 0, |
|
| T | sum = 0, |
|||
| T | ssq = 0, |
|||
| T | mean = 0, |
|||
| T | stdev = 0 | |||
| ) | [inline] |
1.6.3