casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::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 casa::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 594 of file Functors.h.


Constructor & Destructor Documentation

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

Definition at line 596 of file Functors.h.


Member Function Documentation

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

Definition at line 597 of file Functors.h.

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


Member Data Documentation

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

Definition at line 600 of file Functors.h.

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


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