Class GoppaCode.MatrixSet

  • Enclosing class:
    GoppaCode

    public static class GoppaCode.MatrixSet
    extends java.lang.Object
    This class is a container for an instance of GF2Matrix and one int[]. It is used to hold a generator matrix and the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity.
    See Also:
    GF2Matrix, Permutation
    • Constructor Detail

      • MatrixSet

        public MatrixSet​(GF2Matrix g,
                         int[] setJ)
        Construct a new GoppaCode.MatrixSet container with the given parameters.
        Parameters:
        g - the generator matrix
        setJ - the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity
    • Method Detail

      • getG

        public GF2Matrix getG()
        Returns:
        the generator matrix
      • getSetJ

        public int[] getSetJ()
        Returns:
        the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity