28 #ifndef TABLES_EXPRGROUPAGGRFUNCARRAY_H
29 #define TABLES_EXPRGROUPAGGRFUNCARRAY_H
Aggregate class determining the standard devation of array values in a group.
TableExprGroupSumSqrArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void finish()
If needed, finish the aggregation.
virtual ~TableExprGroupMaxsArrayInt()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void finish()
If needed, finish the aggregation.
Array< Double > itsCurMean
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
TableExprGroupMeanArrayDouble(TableExprNodeRep *node)
Abstract base class for aggregate functions giving a dcomplex scalar.
virtual void finish()
If needed, finish the aggregation.
Aggregate class determining the sum of squares of integer array values in a group.
virtual void finish()
If needed, finish the aggregation.
TableExprGroupProductsArrayDComplex(TableExprNodeRep *node)
virtual ~TableExprGroupProductsArrayDouble()
TableExprGroupMaxArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual ~TableExprGroupMinsArrayInt()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void finish()
If needed, finish the aggregation.
virtual ~TableExprGroupVariancesArrayDComplex()
virtual void finish()
If needed, finish the aggregation.
Aggregate class determining the mean of complex array values in a group.
virtual ~TableExprGroupHistBase()
virtual void finish()
If needed, finish the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the product of complex array values in a group.
Base aggregate class determining the histogram of values in a group.
virtual ~TableExprGroupArrayAny()
Aggregate class counting per array index in a group the nr of false values.
TableExprGroupHistBase(TableExprNodeRep *node, Int64 nbin, Double start, Double end)
virtual ~TableExprGroupHistInt()
TableExprGroupRmsArrayDouble(TableExprNodeRep *node)
TableExprGroupHistDouble(TableExprNodeRep *node, Int64 nbin, Double start, Double end)
virtual ~TableExprGroupVarianceArrayDouble()
virtual ~TableExprGroupRmsArrayDouble()
Aggregate class determining the standard devation of array values in a group.
Aggregate class counting if any array value in a group is true.
virtual ~TableExprGroupSumSqrsArrayDComplex()
virtual void finish()
If needed, finish the aggregation.
virtual ~TableExprGroupMinArrayInt()
Aggregate class determining the mean of array values in a group.
virtual ~TableExprGroupMaxArrayDouble()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupProductArrayDComplex(TableExprNodeRep *node)
Aggregate class determining the variance of array values in a group.
virtual ~TableExprGroupSumSqrArrayDouble()
virtual ~TableExprGroupStdDevsArrayDComplex()
Aggregate class determining the variance of array values in a group.
virtual void finish()
If needed, finish the aggregation.
Aggregate class determining the RMS of array values in a group.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupStdDevsArrayDouble(TableExprNodeRep *node, uInt ddof)
virtual void finish()
If needed, finish the aggregation.
virtual ~TableExprGroupArrayNTrue()
TableExprGroupProductsArrayInt(TableExprNodeRep *node)
virtual ~TableExprGroupMaxArrayInt()
TableExprGroupSumSqrsArrayInt(TableExprNodeRep *node)
Aggregate class determining the sum of squares of complex array values in a group.
LatticeExprNode fractile(const LatticeExprNode &expr, const LatticeExprNode &fraction)
Determine the value of the element at the part fraction from the beginning of the given lattice...
TableExprGroupArrayNTrues(TableExprNodeRep *node)
Aggregate class determining the histogram of scalar values in a group.
Aggregate class determining the variance of array values in a group.
virtual ~TableExprGroupSumSqrsArrayDouble()
Aggregate class determining per array index in a group the product of values.
virtual ~TableExprGroupSumArrayDComplex()
virtual ~TableExprGroupProductArrayInt()
Aggregate class counting per array index in a group if all are true.
virtual ~TableExprGroupStdDevArrayDComplex()
Abstract base class for a node in a table column expression tree.
Abstract base class for aggregate functions giving a double scalar.
virtual ~TableExprGroupArrayAnys()
virtual ~TableExprGroupArrayNFalses()
virtual void finish()
If needed, finish the aggregation.
Aggregate class determining the minimum double array value in a group.
virtual ~TableExprGroupSumsArrayDouble()
TableExprGroupVarianceArrayDComplex(TableExprNodeRep *node, uInt ddof)
virtual ~TableExprGroupStdDevArrayDouble()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the sum of complex array values in a group.
TableExprGroupVariancesArrayDouble(TableExprNodeRep *node, uInt ddof)
virtual ~TableExprGroupMaxsArrayDouble()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the maximum integer array value in a group.
Aggregate class determining the product of double array values in a group.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual ~TableExprGroupSumArrayDouble()
Aggregate class determining the sum of double array values in a group.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Abstract base class for aggregate functions giving a double array.
virtual Double getDouble(const vector< TableExprId > &ids)
virtual void finish()
If needed, finish the aggregation.
TableExprGroupSumSqrArrayInt(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void finish()
If needed, finish the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupSumArrayDComplex(TableExprNodeRep *node)
virtual void finish()
If needed, finish the aggregation.
virtual ~TableExprGroupHistScalar()
virtual ~TableExprGroupSumSqrArrayInt()
virtual ~TableExprGroupArrayAll()
Aggregate class determining the minimum integer array value in a group.
Array< DComplex > itsCurMean
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the variance of array values in a group.
Aggregate class determining the minimum double array value in a group.
virtual ~TableExprGroupProductArrayDComplex()
virtual ~TableExprGroupVarianceArrayDComplex()
virtual ~TableExprGroupHistDouble()
Abstract base class for aggregate functions giving a bool array.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the maximum double array value in a group.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
void add(Double value)
Add the value to the histogram.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupStdDevsArrayDComplex(TableExprNodeRep *node, uInt ddof)
TableExprGroupMaxArrayInt(TableExprNodeRep *node)
Abstract base class for aggregate functions giving a bool scalar.
TableExprGroupProductArrayDouble(TableExprNodeRep *node)
TableExprGroupSumSqrsArrayDComplex(TableExprNodeRep *node)
TableExprGroupArrayAll(TableExprNodeRep *node)
Aggregate class determining per array index in a group the sum of values.
Aggregate class determining the histogram of double array values in a group.
virtual ~TableExprGroupSumSqrsArrayInt()
TableExprGroupMinsArrayInt(TableExprNodeRep *node)
std::complex< Double > DComplex
Aggregate class determining per array index in a group the minimum value.
Aggregate class determining the mean of complex array values in a group.
Aggregate class determining the product of double array values in a group.
TableExprGroupSumsArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual ~TableExprGroupArrayAlls()
virtual void finish()
If needed, finish the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupMeansArrayDouble(TableExprNodeRep *node)
TableExprGroupMinsArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupHistInt(TableExprNodeRep *node, Int64 nbin, Double start, Double end)
Aggregate class counting the number of false array values in a group.
bool Bool
Define the standard types used by Casacore.
Aggregate class determining the sum of double array values in a group.
virtual void finish()
If needed, finish the aggregation.
TableExprGroupVarianceArrayDouble(TableExprNodeRep *node, uInt ddof)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupSumSqrArrayDComplex(TableExprNodeRep *node)
TableExprGroupArrayNFalses(TableExprNodeRep *node)
Aggregate class determining per array index in a group the maximum value.
Aggregate class determining the sum of complex array values in a group.
TableExprGroupSumArrayInt(TableExprNodeRep *node)
virtual ~TableExprGroupFractileArrayDouble()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class counting if all array values in a group are true.
virtual void finish()
If needed, finish the aggregation.
TableExprGroupVariancesArrayDComplex(TableExprNodeRep *node, uInt ddof)
TableExprGroupArrayAny(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupStdDevArrayDouble(TableExprNodeRep *node, uInt ddof)
virtual ~TableExprGroupMeanArrayDouble()
virtual ~TableExprGroupVariancesArrayDouble()
virtual ~TableExprGroupMinsArrayDouble()
virtual Bool isLazy() const
Does the aggregate function use lazy semantics? The default implementation returns False...
Aggregate class counting per array index in a group the nr of true values.
Aggregate class determining the product of integer array values in a group.
Abstract base class for classes calculating an aggregated group result.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the sum of squares of double array values in a group. ...
TableExprGroupSumSqrsArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupMeansArrayDComplex(TableExprNodeRep *node)
TableExprGroupArrayAlls(TableExprNodeRep *node)
TableExprGroupProductArrayInt(TableExprNodeRep *node)
Aggregate class determining the sum of squares of double array values in a group. ...
Aggregate class determining the mean of array values in a group.
virtual void finish()
If needed, finish the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the histogram of integer array values in a group.
The identification of a TaQL selection subject.
Abstract base class for aggregate functions giving a dcomplex array.
TableExprGroupHistScalar(TableExprNodeRep *node, Int64 nbin, Double start, Double end)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupMaxsArrayInt(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual ~TableExprGroupMeansArrayDComplex()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the maximum double array value in a group.
virtual ~TableExprGroupSumArrayInt()
TableExprGroupMinArrayInt(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
TableExprGroupMinArrayDouble(TableExprNodeRep *node)
TableExprGroupSumArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Abstract base class for aggregate functions giving an integer scalar.
TableExprGroupRmssArrayDouble(TableExprNodeRep *node)
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Abstract base class for aggregate functions giving an integer array.
TableExprGroupArrayNTrue(TableExprNodeRep *node)
virtual ~TableExprGroupProductsArrayDComplex()
virtual MArray< Int64 > getArrayInt(const vector< TableExprId > &)
Aggregate class determining the RMS of array values in a group.
virtual void finish()
If needed, finish the aggregation.
TableExprGroupMeanArrayDComplex(TableExprNodeRep *node)
TableExprGroupArrayAnys(TableExprNodeRep *node)
virtual ~TableExprGroupArrayNTrues()
virtual ~TableExprGroupMinArrayDouble()
virtual ~TableExprGroupRmssArrayDouble()
TableExprGroupFractileArrayDouble(TableExprNodeRep *node, Double fractile)
virtual ~TableExprGroupProductsArrayInt()
virtual ~TableExprGroupStdDevsArrayDouble()
TableExprGroupProductsArrayDouble(TableExprNodeRep *node)
TableExprGroupArrayNFalse(TableExprNodeRep *node)
virtual ~TableExprGroupSumsArrayInt()
TableExprGroupMaxsArrayDouble(TableExprNodeRep *node)
virtual ~TableExprGroupSumSqrArrayDComplex()
virtual void finish()
If needed, finish the aggregation.
Aggregate class counting the number of true array values in a group.
Aggregate class determining the product of complex array values in a group.
TableExprGroupSumsArrayDComplex(TableExprNodeRep *node)
Aggregate class determining the sum of integer array values in a group.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class counting per array index in a group if any is true.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the fractile of array values in a group.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
Aggregate class determining per array index in a group the sum of value squares in a group...
Aggregate class determining the sum of squares of complex array values in a group.
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
virtual ~TableExprGroupMeanArrayDComplex()
Aggregate class determining the standard devation of array values in a group.
virtual void finish()
If needed, finish the aggregation.
virtual ~TableExprGroupArrayNFalse()
TableExprGroupStdDevArrayDComplex(TableExprNodeRep *node, uInt ddof)
virtual ~TableExprGroupSumsArrayDComplex()
virtual ~TableExprGroupMeansArrayDouble()
virtual void apply(const TableExprId &id)
Get the operand's value for the given row and apply it to the aggregation.
Aggregate class determining the standard devation of array values in a group.
TableExprGroupSumsArrayInt(TableExprNodeRep *node)
virtual ~TableExprGroupProductArrayDouble()