Class GoppaCode.MatrixSet

java.lang.Object
org.bouncycastle.pqc.legacy.math.linearalgebra.GoppaCode.MatrixSet
Enclosing class:
GoppaCode

public static class GoppaCode.MatrixSet extends 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:
  • Constructor Details

    • 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 Details

    • 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