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

Estimates sum of squares of a sequence of numbers. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

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

Protected Attributes

m_Sum
 Sum of all values.

Detailed Description

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

Estimates sum of squares of a sequence of numbers.


Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

Returns the actual minimum.

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

Functional operator.


Member Data Documentation

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

Sum of all values.


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