lobot::generic_stats< T > Class Template Reference

A structure to hold several descriptive statistics together. More...

#include <Robots/LoBot/util/LoStats.H>

Collaboration diagram for lobot::generic_stats< T >:
Collaboration graph
[legend]

List of all members.

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
sum
ssq
mean
stdev

Detailed Description

template<typename T>
class lobot::generic_stats< T >

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.


Constructor & Destructor Documentation

template<typename T>
lobot::generic_stats< T >::generic_stats ( int  n = 0,
sum = 0,
ssq = 0,
mean = 0,
stdev = 0 
) [inline]

Constructor.

Definition at line 80 of file LoStats.H.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:44:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3