MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
The functional object estimates variance of a sequence of numbers. More...
#include <mdsFunctional.h>
Public Member Functions | |
CVariance () | |
Default constructor. | |
R | getValue () |
Returns the actual minimum. | |
void | operator() (const T &Value) |
Functional operator. | |
Protected Attributes | |
long | m_NumOfValues |
Total number of values. | |
R | m_Sum |
Sum of all values. | |
R | m_SumSqr |
The functional object estimates variance of a sequence of numbers.
mds::base::CVariance< R, T >::CVariance | ( | ) |
Default constructor.
R mds::base::CVariance< R, T >::getValue | ( | ) |
Returns the actual minimum.
void mds::base::CVariance< R, T >::operator() | ( | const T & | Value | ) |
Functional operator.
long mds::base::CVariance< R, T >::m_NumOfValues [protected] |
Total number of values.
R mds::base::CVariance< R, T >::m_Sum [protected] |
Sum of all values.
R mds::base::CVariance< R, T >::m_SumSqr [protected] |