Class IfElse
- 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.IfElse
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class IfElse extends TernaryValueFunction
- See Also:
 - Serialized Form
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleexecute(double in1, double in2, double in3)static IfElsegetFnObject()ValueFunctionsetOp2Constant(double cnt)- 
Methods inherited from class org.apache.sysds.runtime.functionobjects.ValueFunction
isBinary, requiresCorrection, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getFnObject
public static IfElse getFnObject()
 
- 
execute
public double execute(double in1, double in2, double in3)- Specified by:
 executein classTernaryValueFunction
 
- 
setOp2Constant
public ValueFunction setOp2Constant(double cnt)
- Specified by:
 setOp2Constantin classTernaryValueFunction
 
 - 
 
 -