company logo

SDB_Statistic - Statistic object type

In order to support statistic functions as average or standard deviation on higher aggregation levels, the statistic object may be used as data type for aggregated values. The statistic object stores count, sum and sum of square values. Those values may be read directly from structure. Moreover, the data type provides functionality that returns average, variance and deviation values.

In order to distinguish class functions from default statistic functions, function names start with capital letters.

Notes:

In general, using the statistic function and calculating statistical values at the end may improve performance compared with using sum, average, deviation etc.

Attributes
Functions