class %ZEN.Report.Aggregate.Covariance
extends %ZEN.Report.CustomAggregate
property Count
as %Integer [ InitialExpression = 0 ];
Number of values processed
property SUMPRODXY
as %Double [ InitialExpression = 0 ];
property SUMX
as %Double [ InitialExpression = 0 ];
property SUMY
as %Double [ InitialExpression = 0 ];
method GetResult()
as %String
Returns the covariance. Returns 0 if the count is zero
method ProcessValue(pValue As %List)
as %Status
ProcessValue is called sequentially on each record returned by the
report query or queries.