Class Modulus
- java.lang.Object
- 
- org.apache.sysds.runtime.functionobjects.FunctionObject
- 
- org.apache.sysds.runtime.functionobjects.ValueFunction
- 
- org.apache.sysds.runtime.functionobjects.Modulus
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class Modulus extends ValueFunction Integer modulus, where we adhere to the defined R semantics: ("%% indicates x mod y and %/% indicates integer division. It is guaranteed that x == (x %% y) + y * ( x %/% y ) (up to rounding error) unless y == 0")- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleexecute(double in1, double in2)doubleexecute(long in1, long in2)static ModulusgetFnObject()- 
Methods inherited from class org.apache.sysds.runtime.functionobjects.ValueFunctionrequiresCorrection
 
- 
 
- 
- 
- 
Method Detail- 
getFnObjectpublic static Modulus getFnObject() 
 - 
executepublic double execute(double in1, double in2)- Overrides:
- executein class- FunctionObject
 
 - 
executepublic double execute(long in1, long in2)- Overrides:
- executein class- FunctionObject
 
 
- 
 
-