Class 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 Detail

      • getFnObject

        public static Modulus getFnObject()
      • execute

        public double execute​(double in1,
                              double in2)
        Overrides:
        execute in class FunctionObject