Class KahanPlus
- java.lang.Object
-
- org.apache.sysds.runtime.functionobjects.FunctionObject
-
- org.apache.sysds.runtime.functionobjects.ValueFunction
-
- org.apache.sysds.runtime.functionobjects.KahanFunction
-
- org.apache.sysds.runtime.functionobjects.KahanPlus
-
- All Implemented Interfaces:
Serializable
public class KahanPlus extends KahanFunction
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Data
execute(Data in1, double in2)
Data
execute(Data in1, double in2, double in3)
void
execute2(KahanObject in1, double in2)
Simplified version of execute(Data in1, double in2) without exception handling and casts.void
execute3(KahanObject in1, double in2, int count)
static KahanPlus
getKahanPlusFnObject()
-
Methods inherited from class org.apache.sysds.runtime.functionobjects.KahanFunction
requiresCorrection
-
Methods inherited from class org.apache.sysds.runtime.functionobjects.ValueFunction
isBinary, toString
-
-
-
-
Method Detail
-
getKahanPlusFnObject
public static KahanPlus getKahanPlusFnObject()
-
execute
public Data execute(Data in1, double in2)
- Overrides:
execute
in classFunctionObject
-
execute
public Data execute(Data in1, double in2, double in3)
- Overrides:
execute
in classFunctionObject
-
execute2
public void execute2(KahanObject in1, double in2)
Simplified version of execute(Data in1, double in2) without exception handling and casts.- Specified by:
execute2
in classKahanFunction
- Parameters:
in1
- kahan object inputin2
- double input
-
execute3
public void execute3(KahanObject in1, double in2, int count)
- Specified by:
execute3
in classKahanFunction
-
-