Class KahanObject
- java.lang.Object
- 
- org.apache.sysds.runtime.instructions.cp.Data
- 
- org.apache.sysds.runtime.instructions.cp.KahanObject
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class KahanObject extends Data - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description double_correctiondouble_sum
 - 
Constructor SummaryConstructors Constructor Description KahanObject(double sum, double cor)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcompare(KahanObject k1, KahanObject k2)booleanequals(Object o)StringgetDebugName()inthashCode()booleanisAllZero()voidread(DataInput in)voidset(double s, double c)voidset(KahanObject that)StringtoString()voidwrite(DataOutput out)- 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.DatagetDataType, getMetaData, getPrivacyConstraint, getValueType, removeMetaData, setMetaData, setPrivacyConstraints, updateDataCharacteristics
 
- 
 
- 
- 
- 
Method Detail- 
comparepublic static int compare(KahanObject k1, KahanObject k2) 
 - 
readpublic void read(DataInput in) throws IOException - Throws:
- IOException
 
 - 
writepublic void write(DataOutput out) throws IOException - Throws:
- IOException
 
 - 
setpublic void set(KahanObject that) 
 - 
setpublic void set(double s, double c)
 - 
isAllZeropublic boolean isAllZero() 
 - 
getDebugNamepublic String getDebugName() - Specified by:
- getDebugNamein class- Data
 
 
- 
 
-