glotzmath::StatisticsTool< TYPE > Class Template Reference

#include <StatisticsTool.h>

List of all members.

Public Member Functions

 StatisticsTool ()
 ~StatisticsTool ()
TYPE ComputeMean (std::vector< TYPE > &)
TYPE ComputeSum (std::vector< TYPE > &)
TYPE ComputeStDev (std::vector< TYPE > &)
void Reset ()
void clear ()
void AddDataPoint (TYPE)
void Push (TYPE)
void PushBack (TYPE)
void push_back (TYPE)
int Size ()
TYPE Mean ()
TYPE Sum ()
TYPE StDev ()
TYPE Variance ()
TYPE Min ()
TYPE Max ()

Private Attributes

int mNDataPoints
TYPE mSum
TYPE mSumSq
TYPE mMin
TYPE mMax

template<class TYPE>
class glotzmath::StatisticsTool< TYPE >


Constructor & Destructor Documentation

template<class TYPE>
glotzmath::StatisticsTool< TYPE >::StatisticsTool (  )  [inline]

template<class TYPE>
glotzmath::StatisticsTool< TYPE >::~StatisticsTool (  )  [inline]


Member Function Documentation

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::ComputeMean ( std::vector< TYPE > &  data  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::ComputeSum ( std::vector< TYPE > &  data  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::ComputeStDev ( std::vector< TYPE > &  data  )  [inline]

template<class TYPE>
void glotzmath::StatisticsTool< TYPE >::Reset (  )  [inline]

template<class TYPE>
void glotzmath::StatisticsTool< TYPE >::clear (  )  [inline]

template<class TYPE>
void glotzmath::StatisticsTool< TYPE >::AddDataPoint ( TYPE  data  )  [inline]

template<class TYPE>
void glotzmath::StatisticsTool< TYPE >::Push ( TYPE  data  )  [inline]

template<class TYPE>
void glotzmath::StatisticsTool< TYPE >::PushBack ( TYPE  data  )  [inline]

template<class TYPE>
void glotzmath::StatisticsTool< TYPE >::push_back ( TYPE  data  )  [inline]

template<class TYPE>
int glotzmath::StatisticsTool< TYPE >::Size (  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::Mean (  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::Sum (  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::StDev (  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::Variance (  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::Min (  )  [inline]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::Max (  )  [inline]


Member Data Documentation

template<class TYPE>
int glotzmath::StatisticsTool< TYPE >::mNDataPoints [private]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::mSum [private]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::mSumSq [private]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::mMin [private]

template<class TYPE>
TYPE glotzmath::StatisticsTool< TYPE >::mMax [private]


The documentation for this class was generated from the following file:
Generated on Tue Feb 24 20:53:41 2009 by  doxygen 1.5.3