26 #ifndef SCIMATH_STATSALGORITHMQUANTILECOMPUTER_H
27 #define SCIMATH_STATSALGORITHMQUANTILECOMPUTER_H
29 #include <casacore/scimath/StatsFramework/StatisticsTypes.h>
31 #include <casacore/casa/aips.h>
41 class AccumType,
class DataIterator,
class MaskIterator=
const Bool *,
42 class WeightsIterator=DataIterator
126 #ifndef CASACORE_NO_AUTO_TEMPLATES
127 #include <casacore/scimath/StatsFramework/StatisticsAlgorithmQuantileComputer.tcc>
This is the virtual base class from which concrete QuantileComputer classes are derived.
StatisticsAlgorithmQuantileComputer()=delete
void _setSortedArray(const std::vector< AccumType > &v)
FIXME make protected once refactor is complete.
StatisticsAlgorithmQuantileComputer(StatisticsDataset< CASA_STATP > *ds)
ds should be the dataset object held in the StatisticsAlgorithm object.
CountedPtr< AccumType > _medAbsDevMed
void setDataset(StatisticsDataset< CASA_STATP > *ds)
This must be called upon the copy or assignment of the associated statistics algorithm object.
CountedPtr< AccumType > _getMedian() const
virtual void reset()
reset this object by clearing data.
std::vector< AccumType > _sortedArray
StatisticsDataset< CASA_STATP > * _dataset
This pointer references the (non-pointer) object in the associated non-QuantileComputer computer obje...
CountedPtr< AccumType > _getMedianAbsDevMedian() const
void setMedian(CountedPtr< AccumType > median)
void _setMedianAbsDevMedian(CountedPtr< AccumType > medAbsDevMed)
StatisticsAlgorithmQuantileComputer & operator=(const StatisticsAlgorithmQuantileComputer &other)
use copy semantics.
StatisticsDataset< CASA_STATP > * _getDataset()
void deleteSortedArray()
delete any (partially) sorted array
std::vector< AccumType > & _getSortedArray()
FIXME make protected once refactor is complete.
virtual StatisticsAlgorithmQuantileComputer< CASA_STATP > * clone() const =0
clone this object by returning a pointer to a copy
virtual ~StatisticsAlgorithmQuantileComputer()
CountedPtr< AccumType > _median
StatisticsAlgorithmQuantileComputer(const StatisticsAlgorithmQuantileComputer &other)
use copy semantics.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode median(const LatticeExprNode &expr)