Class CmCovObject
java.lang.Object
org.apache.sysds.runtime.instructions.cp.Data
org.apache.sysds.runtime.instructions.cp.CmCovObject
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoubledouble -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CmCovObject that) booleandoubledoubleReturn the result of the aggregated operation given the operation type.doubleReturn the result of the aggregated operation given the operator.doubleinthashCode()booleanbooleanvoidreset()voidset(CmCovObject that) toString()Methods inherited from class org.apache.sysds.runtime.instructions.cp.Data
getDataType, getMetaData, getValueType, removeMetaData, setMetaData, toString, updateDataCharacteristics
-
Field Details
-
w
public double w -
mean
-
m2
-
m3
-
m4
-
min
public double min -
max
public double max -
mean_v
-
c2
-
-
Constructor Details
-
CmCovObject
public CmCovObject()
-
-
Method Details
-
toString
-
reset
public void reset() -
compareTo
-
equals
-
hashCode
public int hashCode() -
set
-
isCMAllZeros
public boolean isCMAllZeros() -
isCOVAllZeros
public boolean isCOVAllZeros() -
getRequiredResult
Return the result of the aggregated operation given the operator.- Parameters:
op- operator- Returns:
- result of the aggregated operation for the given operator
-
getRequiredResult
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
-
getRequiredPartialResult
-
getWeight
public double getWeight() -
getDebugName
- Specified by:
getDebugNamein classData
-