casacore
|
Functor to add absolute diff of right and base value to left. More...
#include <Functors.h>
Public Member Functions | |
SumAbsDiff (T base) | |
Accum | operator() (Accum left, T right) const |
Private Attributes | |
Accum | itsBase |
Functor to add absolute diff of right and base value to left.
It can be used to calculate the average deviation.
Definition at line 635 of file Functors.h.
|
inlineexplicit |
Definition at line 637 of file Functors.h.
|
inline |
Definition at line 638 of file Functors.h.
References casacore::abs(), and casacore::SumAbsDiff< T, Accum >::itsBase.
|
private |
Definition at line 641 of file Functors.h.
Referenced by casacore::SumAbsDiff< T, Accum >::operator()().