casa
$Rev:20696$
|
Functor to add squared diff of right and base value to left. More...
#include <Functors.h>
Public Member Functions | |
SumSqrDiff (T base) | |
Accum | operator() (Accum left, T right) const |
Private Attributes | |
Accum | itsBase |
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.
casa::SumSqrDiff< T, Accum >::SumSqrDiff | ( | T | base | ) | [inline, explicit] |
Definition at line 596 of file Functors.h.
Accum casa::SumSqrDiff< T, Accum >::operator() | ( | Accum | left, |
T | right | ||
) | const [inline] |
Definition at line 597 of file Functors.h.
References casa::SumSqrDiff< T, Accum >::itsBase.
Accum casa::SumSqrDiff< T, Accum >::itsBase [private] |
Definition at line 600 of file Functors.h.
Referenced by casa::SumSqrDiff< T, Accum >::operator()().