Class MatrixRow


  • public class MatrixRow
    extends Object
    A congruence used by the matrix solver where the elements have been mapped to integer indices.
    Author:
    Tilman Neumann
    • Constructor Detail

      • MatrixRow

        public MatrixRow​(IndexSet columnIndices,
                         IndexSet rowIndexHistory)
        Full constructor. (no copy)
        Parameters:
        columnIndices -
        rowIndexHistory -
    • Method Detail

      • getRowIndexHistoryAsList

        public ArrayList<Integer> getRowIndexHistoryAsList()
      • getBiggestColumnIndex

        public int getBiggestColumnIndex()
      • addXor

        public void addXor​(MatrixRow other)
        Combine this and other in Z_2, modifying this. The operation in Z_2 is equivalent to "xor".
        Parameters:
        other -
      • isNullVector

        public boolean isNullVector()
        Returns:
        true if there are no odd exponent factor indices
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object