Class GoppaCode.MatrixSet
- java.lang.Object
-
- org.bouncycastle.pqc.math.linearalgebra.GoppaCode.MatrixSet
-
- Enclosing class:
- GoppaCode
public static class GoppaCode.MatrixSet extends java.lang.ObjectThis class is a container for an instance ofGF2Matrixand 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 newGoppaCode.MatrixSetcontainer with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GF2MatrixgetG()int[]getSetJ()
-
-
-
Constructor Detail
-
MatrixSet
public MatrixSet(GF2Matrix g, int[] setJ)
Construct a newGoppaCode.MatrixSetcontainer with the given parameters.- Parameters:
g- the generator matrixsetJ- 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
-
-