27 #ifndef SCIMATH_STATISTICSINCREMENTER_H
28 #define SCIMATH_STATISTICSINCREMENTER_H
38 class DataIterator,
class MaskIterator=
const Bool *,
39 class WeightsIterator=DataIterator
52 DataIterator& datum,
uInt64& loopCount,
uInt dataStride
54 std::advance(datum, dataStride);
59 DataIterator& datum,
uInt64& loopCount,
60 WeightsIterator& weight,
uInt dataStride
62 std::advance(datum, dataStride);
63 std::advance(weight, dataStride);
68 DataIterator& datum,
uInt64& loopCount, MaskIterator&
mask,
71 std::advance(datum, dataStride);
72 std::advance(mask, maskStride);
77 DataIterator& datum,
uInt64& loopCount, WeightsIterator& weight,
80 std::advance(datum, dataStride);
81 std::advance(weight, dataStride);
82 std::advance(mask, maskStride);
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
unsigned long long uInt64
static void increment(DataIterator &datum, uInt64 &loopCount, uInt dataStride)
loopCount is always incremented by one, independent of the value of dataStride and maskStride ...
Utility functions used for incrementing pointers in a data set used by the stats framework.
StatisticsIncrementer()=delete
bool Bool
Define the standard types used by Casacore.
static void increment(DataIterator &datum, uInt64 &loopCount, MaskIterator &mask, uInt dataStride, uInt maskStride)
static void increment(DataIterator &datum, uInt64 &loopCount, WeightsIterator &weight, MaskIterator &mask, uInt dataStride, uInt maskStride)
static void increment(DataIterator &datum, uInt64 &loopCount, WeightsIterator &weight, uInt dataStride)