TAggregateAvg.InitAggregate procedure
Initialize average aggregation
Declaration
procedure InitAggregate; overrideDescription
The InitAggregate method initializes the average aggregate for a new aggregation cycle.
It resets both the sum accumulator and the count of processed values to zero, preparing the aggregate for processing new values.
The method calls the parent TAggregateSum.InitAggregate to handle sum initialization and additionally resets the count tracking needed for average calculation.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
