Class CM_COV_Object
- java.lang.Object
- 
- org.apache.sysds.runtime.instructions.cp.Data
- 
- org.apache.sysds.runtime.instructions.cp.CM_COV_Object
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class CM_COV_Object extends Data - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description KahanObjectc2KahanObjectm2KahanObjectm3KahanObjectm4doublemaxKahanObjectmeanKahanObjectmean_vdoublemindoublew
 - 
Constructor SummaryConstructors Constructor Description CM_COV_Object()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CM_COV_Object that)booleanequals(Object o)StringgetDebugName()doublegetRequiredPartialResult(Operator op)doublegetRequiredResult(CMOperator.AggregateOperationTypes agg)Return the result of the aggregated operation given the operation type.doublegetRequiredResult(Operator op)Return the result of the aggregated operation given the operator.doublegetWeight()inthashCode()booleanisCMAllZeros()booleanisCOVAllZeros()voidreset()voidset(CM_COV_Object that)StringtoString()- 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.DatagetDataType, getMetaData, getPrivacyConstraint, getValueType, removeMetaData, setMetaData, setPrivacyConstraints, updateDataCharacteristics
 
- 
 
- 
- 
- 
Field Detail- 
wpublic double w 
 - 
meanpublic KahanObject mean 
 - 
m2public KahanObject m2 
 - 
m3public KahanObject m3 
 - 
m4public KahanObject m4 
 - 
minpublic double min 
 - 
maxpublic double max 
 - 
mean_vpublic KahanObject mean_v 
 - 
c2public KahanObject c2 
 
- 
 - 
Method Detail- 
resetpublic void reset() 
 - 
compareTopublic int compareTo(CM_COV_Object that) 
 - 
setpublic void set(CM_COV_Object that) 
 - 
isCMAllZerospublic boolean isCMAllZeros() 
 - 
isCOVAllZerospublic boolean isCOVAllZeros() 
 - 
getRequiredResultpublic double getRequiredResult(Operator op) Return the result of the aggregated operation given the operator.- Parameters:
- op- operator
- Returns:
- result of the aggregated operation for the given operator
 
 - 
getRequiredResultpublic double getRequiredResult(CMOperator.AggregateOperationTypes agg) Return the result of the aggregated operation given the operation type.- Parameters:
- agg- aggregate operation type
- Returns:
- result of the aggregated operation given the operation type
 
 - 
getRequiredPartialResultpublic double getRequiredPartialResult(Operator op) 
 - 
getWeightpublic double getWeight() 
 - 
getDebugNamepublic String getDebugName() - Specified by:
- getDebugNamein class- Data
 
 
- 
 
-