casacore::SumSqrDiff< T, Accum > Struct Template Reference

Functor to add squared diff of right and base value to left. More...

#include <Functors.h>

List of all members.

Public Member Functions

 SumSqrDiff (T base)
Accum operator() (Accum left, T right) const

Private Attributes

Accum itsBase

Detailed Description

template<typename T, typename Accum = T>
struct casacore::SumSqrDiff< T, Accum >

Functor to add squared diff of right and base value to left.

It can be used to calculate the standard deviation.

Definition at line 606 of file Functors.h.


Constructor & Destructor Documentation

template<typename T , typename Accum = T>
casacore::SumSqrDiff< T, Accum >::SumSqrDiff ( base  )  [inline, explicit]

Definition at line 608 of file Functors.h.


Member Function Documentation

template<typename T , typename Accum = T>
Accum casacore::SumSqrDiff< T, Accum >::operator() ( Accum  left,
right 
) const [inline]

Definition at line 609 of file Functors.h.

References casacore::SumSqrDiff< T, Accum >::itsBase.


Member Data Documentation

template<typename T , typename Accum = T>
Accum casacore::SumSqrDiff< T, Accum >::itsBase [private]

Definition at line 612 of file Functors.h.

Referenced by casacore::SumSqrDiff< T, Accum >::operator()().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1