Class Mod


  • public abstract class Mod
    extends java.lang.Object
    • Constructor Detail

      • Mod

        public Mod()
    • Method Detail

      • add

        public static void add​(int[] p,
                               int[] x,
                               int[] y,
                               int[] z)
        Deprecated.
        Will be removed.
      • checkedModOddInverse

        public static void checkedModOddInverse​(int[] m,
                                                int[] x,
                                                int[] z)
      • checkedModOddInverseVar

        public static void checkedModOddInverseVar​(int[] m,
                                                   int[] x,
                                                   int[] z)
      • inverse32

        public static int inverse32​(int d)
      • modOddInverse

        public static int modOddInverse​(int[] m,
                                        int[] x,
                                        int[] z)
      • modOddInverseVar

        public static boolean modOddInverseVar​(int[] m,
                                               int[] x,
                                               int[] z)
      • random

        public static int[] random​(int[] p)
      • subtract

        public static void subtract​(int[] p,
                                    int[] x,
                                    int[] y,
                                    int[] z)
        Deprecated.
        Will be removed.