SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
slip::Statistics< T > Struct Template Reference

This is a structure to store descriptive statistics. More...

#include <statistics.hpp>

Public Member Functions

T & min ()
 Returns the minimum value. More...
 
T & first_quartile ()
 Returns the first quartile value. More...
 
T & median ()
 Returns the median value. More...
 
T & third_quartile ()
 Returns the third quartile value. More...
 
T & max ()
 Returns the first maximal value. More...
 
T & mean ()
 Returns the mean value. More...
 
T & std_dev ()
 Returns the standard deviation. More...
 
T & skewness ()
 Returns the skewness. More...
 
T & kurtosis ()
 Returns the kurtosis. More...
 
T & cardinal ()
 Returns the cardinal. More...
 
slip::block< T, 10 > all ()
 Returns a slip::block<T,10> with all the statistics. More...
 

Public Attributes

slip::block< T, 10 > stat_
 

Detailed Description

template<typename T>
struct slip::Statistics< T >

This is a structure to store descriptive statistics.

Author
Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
Version
0.0.1
Date
2009/11/25
Since
1.0.0
Parameters
TType of the elements in the Statistics
Examples:
statistics_example.cpp.

Definition at line 107 of file statistics.hpp.

Member Function Documentation

template<typename T>
slip::block<T,10> slip::Statistics< T >::all ( )
inline

Returns a slip::block<T,10> with all the statistics.

Definition at line 204 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::cardinal ( )
inline

Returns the cardinal.

Definition at line 195 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::first_quartile ( )
inline

Returns the first quartile value.

Definition at line 123 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::kurtosis ( )
inline

Returns the kurtosis.

Definition at line 186 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::max ( )
inline

Returns the first maximal value.

Definition at line 150 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::mean ( )
inline

Returns the mean value.

Definition at line 159 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::median ( )
inline

Returns the median value.

Definition at line 132 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::min ( )
inline

Returns the minimum value.

Definition at line 114 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::skewness ( )
inline

Returns the skewness.

Definition at line 177 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::std_dev ( )
inline

Returns the standard deviation.

Definition at line 168 of file statistics.hpp.

template<typename T>
T& slip::Statistics< T >::third_quartile ( )
inline

Returns the third quartile value.

Definition at line 141 of file statistics.hpp.

Member Data Documentation

template<typename T>
slip::block<T,10> slip::Statistics< T >::stat_

Definition at line 209 of file statistics.hpp.


The documentation for this struct was generated from the following file: