Home Original page

IfElse (Apache SystemDS 3.4.0-SNAPSHOT API)

  • 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
      double execute​(double in1, double in2, double in3)  
      static IfElse getFnObject()  
      ValueFunction setOp2Constant​(double cnt)  
      • Methods inherited from class org.apache.sysds.runtime.functionobjects.ValueFunction

        isBinary, requiresCorrection, toString
      • Methods inherited from class org.apache.sysds.runtime.functionobjects.FunctionObject

        clone, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getFnObject

        public static IfElse getFnObject()
      • execute

        public double execute​(double in1,
                              double in2,
                              double in3)
        Specified by:
        execute in class TernaryValueFunction
      • setOp2Constant

        public ValueFunction setOp2Constant​(double cnt)
        Specified by:
        setOp2Constant in class TernaryValueFunction