MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Protected Attributes
mds::base::CVariance< R, T > Class Template Reference

The functional object estimates variance of a sequence of numbers. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

 CVariance ()
 Default constructor.
getValue ()
 Returns the actual minimum.
void operator() (const T &Value)
 Functional operator.

Protected Attributes

long m_NumOfValues
 Total number of values.
m_Sum
 Sum of all values.
m_SumSqr

Detailed Description

template<typename R, typename T>
class mds::base::CVariance< R, T >

The functional object estimates variance of a sequence of numbers.


Constructor & Destructor Documentation

template<typename R , typename T >
mds::base::CVariance< R, T >::CVariance ( )

Default constructor.


Member Function Documentation

template<typename R , typename T >
R mds::base::CVariance< R, T >::getValue ( )

Returns the actual minimum.

template<typename R , typename T >
void mds::base::CVariance< R, T >::operator() ( const T &  Value)

Functional operator.


Member Data Documentation

template<typename R , typename T >
long mds::base::CVariance< R, T >::m_NumOfValues [protected]

Total number of values.

template<typename R , typename T >
R mds::base::CVariance< R, T >::m_Sum [protected]

Sum of all values.

template<typename R , typename T >
R mds::base::CVariance< R, T >::m_SumSqr [protected]

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