|
static void | accumulate (Double &npts, AccumType &sum, AccumType &mean, const AccumType &datum) |
| accumulate values. More...
|
|
static void | waccumulate (Double &npts, AccumType &sumweights, AccumType &wsum, AccumType &wmean, const AccumType &datum, const AccumType &weight) |
| in order to optimize performance, no checking is done for the weight == 0 case callers should ensure that the weigth is not zero before calling this method, and shouldn't call this method if the weight is 0. More...
|
|
static void | accumulate (Double &npts, AccumType &sum, AccumType &mean, AccumType &nvariance, AccumType &sumsq, const AccumType &datum) |
|
static void | waccumulate (Double &npts, AccumType &sumweights, AccumType &wsum, AccumType &wmean, AccumType &wnvariance, AccumType &wsumsq, const AccumType &datum, const AccumType &weight) |
| wsumsq is the weighted sum of squares, sum(w_i*x_i*x_i) More...
|
|
template<class LocationType > |
static void | accumulate (Double &npts, AccumType &sum, AccumType &mean, AccumType &nvariance, AccumType &sumsq, AccumType &datamin, AccumType &datamax, LocationType &minpos, LocationType &maxpos, const AccumType &datum, const LocationType &location) |
| The assignment operator of class LocationType should use copy, not reference, semantics. More...
|
|
template<class LocationType , class DataType > |
static void | accumulate (Double &npts, AccumType &sum, AccumType &mean, AccumType &nvariance, AccumType &sumsq, DataType &datamin, DataType &datamax, LocationType &minpos, LocationType &maxpos, const DataType &datum, const LocationType &location) |
|
template<class LocationType > |
static void | waccumulate (Double &npts, AccumType &sumofweights, AccumType &sum, AccumType &mean, AccumType &nvariance, AccumType &sumsq, AccumType &datamin, AccumType &datamax, LocationType &minpos, LocationType &maxpos, const AccumType &datum, const AccumType &weight, const LocationType &location) |
|
template<class LocationType > |
static Bool | doMax (AccumType &datamax, LocationType &maxpos, Bool isFirst, const AccumType &datum, const LocationType &location) |
| return True if the max or min was updated, False otherwise. More...
|
|
template<class LocationType > |
static Bool | doMin (AccumType &datamin, LocationType &minpos, Bool isFirst, const AccumType &datum, const LocationType &location) |
|
static void | accumulateSym (Double &npts, AccumType &nvariance, AccumType &sumsq, const AccumType &datum, const AccumType ¢er) |
| These versions are for symmetric accumulation about a specified center point. More...
|
|
static void | waccumulateSym (Double &npts, AccumType &sumweights, AccumType &wnvariance, AccumType &wsumsq, const AccumType &datum, const AccumType &weight, const AccumType ¢er) |
| wsumsq is the weighted sum of squares, sum(w_i*x_i*x_i) More...
|
|
template<class LocationType > |
static void | accumulateSym (Double &npts, AccumType &nvariance, AccumType &sumsq, AccumType &datamin, AccumType &datamax, LocationType &minpos, LocationType &maxpos, const AccumType &datum, const LocationType &location, const AccumType ¢er) |
| maxpos and minpos refer to actual, not virtually created, data only. More...
|
|
template<class LocationType > |
static void | waccumulateSym (Double &npts, AccumType &sumofweights, AccumType &nvariance, AccumType &sumsq, AccumType &datamin, AccumType &datamax, LocationType &minpos, LocationType &maxpos, const AccumType &datum, const AccumType &weight, const LocationType &location, const AccumType ¢er) |
|
static void | convertToAbsDevMedArray (DataArray &myArray, AccumType median) |
| convert in place by taking the absolute value of the difference of the std::vector and the median More...
|
|
static Bool | includeDatum (const AccumType &datum, typename DataRanges::const_iterator beginRange, typename DataRanges::const_iterator endRange, Bool isInclude) |
|
static std::map< uInt64, AccumType > | indicesToValues (std::vector< AccumType > &myArray, const std::set< uInt64 > &indices) |
| The array can be changed by partially sorting it up to the largest index. More...
|
|
static void | mergeResults (std::vector< BinCountArray > &bins, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const PtrHolder< std::vector< BinCountArray >> &tBins, const PtrHolder< std::vector< CountedPtr< AccumType >>> &tSameVal, const PtrHolder< std::vector< Bool >> &tAllSame, uInt nThreadsMax) |
|
static StatsData< AccumType > | combine (const std::vector< StatsData< AccumType >> &stats) |
| use two statistics sets to get the statistics set that would result in combining the two data sets used to produce the individual statistics sets. More...
|
|
template<class DataIterator , class MaskIterator , class WeightsIterator > |
static uInt | nThreadsMax (const StatsDataProvider< CASA_STATP > *const dataProvider) |
|
static uInt | threadIdx () |
|
template<class AccumType>
class casacore::StatisticsUtilities< AccumType >
Various statistics related methods for the statistics framework.
Definition at line 46 of file StatisticsUtilities.h.