Aggregate class determining the variance of array values in a group. More...
#include <ExprGroupAggrFuncArray.h>
Public Member Functions | |
TableExprGroupVariancesArrayDouble (TableExprNodeRep *node) | |
virtual | ~TableExprGroupVariancesArrayDouble () |
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. | |
Protected Attributes | |
Array< Int64 > | itsNr |
Array< Double > | itsMean |
Aggregate class determining the variance of array values in a group.
Internal
Aggregate class determining the variance of array values in a group. It uses a running algorithm (see en.wikipedia.org/wiki/Algorithms_for_calculating_variance)
Definition at line 745 of file ExprGroupAggrFuncArray.h.
casacore::TableExprGroupVariancesArrayDouble::TableExprGroupVariancesArrayDouble | ( | TableExprNodeRep * | node | ) |
virtual casacore::TableExprGroupVariancesArrayDouble::~TableExprGroupVariancesArrayDouble | ( | ) | [virtual] |
virtual void casacore::TableExprGroupVariancesArrayDouble::apply | ( | const TableExprId & | id | ) | [virtual] |
Get the operand's value for the given row and apply it to the aggregation.
This function should not be called for lazy classes.
Implements casacore::TableExprGroupFuncBase.
virtual void casacore::TableExprGroupVariancesArrayDouble::finish | ( | ) | [virtual] |
If needed, finish the aggregation.
By default nothing is done.
Reimplemented from casacore::TableExprGroupFuncBase.
Reimplemented in casacore::TableExprGroupStdDevsArrayDouble.
Definition at line 754 of file ExprGroupAggrFuncArray.h.
Definition at line 753 of file ExprGroupAggrFuncArray.h.