oln::utils::f_moments< T, C > Struct Template Reference
Computes the mean, the variance and store the min, the max.
More...
#include <stat.hh>
Inheritance diagram for oln::utils::f_moments< T, C >:
[legend]Collaboration diagram for oln::utils::f_moments< T, C >:
[legend]List of all members.
|
Public Types |
|
typedef f_minmax< T > | super |
Public Member Functions |
|
void | operator() (const T &val) |
|
const C | mean () const |
| | Return the mean value.
|
|
const C | variance () const |
| | Return the variance.
|
Protected Attributes |
|
C | sum1_ |
|
C | sum2_ |
Detailed Description
template<class T, class C = ntg::float_s>
struct oln::utils::f_moments< T, C >
Computes the mean, the variance and store the min, the max.
Definition at line 102 of file utils/stat.hh.
The documentation for this struct was generated from the following file:
Generated on Thu Apr 15 20:17:27 2004 for Olena by
1.3.6-20040222