casacore
|
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 variance. Note: it is specialized for complex values to handle real and imag separately.
Definition at line 607 of file Functors.h.
|
inlineexplicit |
Definition at line 609 of file Functors.h.
|
inline |
Definition at line 610 of file Functors.h.
|
private |
Definition at line 613 of file Functors.h.