Class PlusMultiply
- java.lang.Object
-
- org.apache.sysds.runtime.functionobjects.FunctionObject
-
- org.apache.sysds.runtime.functionobjects.ValueFunction
-
- org.apache.sysds.runtime.functionobjects.TernaryValueFunction
-
- org.apache.sysds.runtime.functionobjects.PlusMultiply
-
- All Implemented Interfaces:
Serializable
,TernaryValueFunction.ValueFunctionWithConstant
public class PlusMultiply extends TernaryValueFunction implements TernaryValueFunction.ValueFunctionWithConstant
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.functionobjects.TernaryValueFunction
TernaryValueFunction.ValueFunctionWithConstant
-
-
Constructor Summary
Constructors Constructor Description PlusMultiply(double cnt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
execute(double in1, double in2)
double
execute(double in1, double in2, double in3)
double
getConstant()
static PlusMultiply
getFnObject()
BinaryOperator
setOp2Constant(double cnt)
-
Methods inherited from class org.apache.sysds.runtime.functionobjects.ValueFunction
isBinary, requiresCorrection, toString
-
-
-
-
Method Detail
-
getFnObject
public static PlusMultiply getFnObject()
-
getConstant
public double getConstant()
-
execute
public double execute(double in1, double in2, double in3)
- Specified by:
execute
in classTernaryValueFunction
-
setOp2Constant
public BinaryOperator setOp2Constant(double cnt)
- Specified by:
setOp2Constant
in interfaceTernaryValueFunction.ValueFunctionWithConstant
-
execute
public double execute(double in1, double in2)
- Overrides:
execute
in classFunctionObject
-
-