Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZEN] >  [Report] >  [Aggregate] >  [Covariance]
Private  Storage   

deprecatedclass %ZEN.Report.Aggregate.Covariance extends %ZEN.Report.CustomAggregate

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 2


Summary

Properties
Count SUMPRODXY SUMX SUMY
accumIf class escape excelFormula
excelName excelNumberFormat expression field
fields filter format ignoreNLS
name postprocessResult preprocessValue runtimeMode
type uniqueId

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%PostProcessValue %PreProcessValue %RemoveFromSaveSet %SerializeObject
%SetModified %ValidateObject GetResult ProcessValue
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
fieldIsValid nameIsValid


Properties

• 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 ];

Methods

• 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.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.