Package org.bouncycastle.pqc.math.linearalgebra

## Class GoppaCode.MatrixSet

- java.lang.Object
- - org.bouncycastle.pqc.math.linearalgebra.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 Summary

    Constructors
    Constructor | Description
    --- | ---
    `MatrixSet​(GF2Matrix g, int[] setJ)` | Construct a new `GoppaCode.MatrixSet` container with the given parameters.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `GF2Matrix` | `getG()` |
    `int[]` | `getSetJ()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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