public IEnumerable <bool> GetCol(int col)
 {
     return(BitMatrixHelper.GetCol(this, col));
 }
 public IEnumerable <bool> GetRow(int row)
 {
     return(BitMatrixHelper.GetRow(this, row));
 }
 public IEnumerable <int> GetNonZeroCols(int row)
 {
     return(BitMatrixHelper.GetNonZeroCols(this, row));
 }
 public void XorRows(int dst, int src, int col)
 {
     BitMatrixHelper.XorRows(this, dst, src, col);
 }
 public void Copy(IBitMatrix other, int row, int col)
 {
     BitMatrixHelper.Copy(this, other, row, col);
 }
 public int GetRowWeight(int row)
 {
     return(BitMatrixHelper.GetRowWeight(this, row));
 }
 public IEnumerable <int> GetColWeights()
 {
     return(BitMatrixHelper.GetColWeights(this));
 }
Exemplo n.º 8
0
 public int GetColWeight(int col)
 {
     return(BitMatrixHelper.GetColWeight(this, col));
 }
Exemplo n.º 9
0
 public IEnumerable <int> GetNonZeroRows(int col)
 {
     return(BitMatrixHelper.GetNonZeroRows(this, col));
 }
Exemplo n.º 10
0
 public new void Clear()
 {
     BitMatrixHelper.Clear(this);
 }
Exemplo n.º 11
0
 public BoolBitMatrix(IBitMatrix other)
     : this(other.Rows, other.Cols)
 {
     BitMatrixHelper.CopyNonZero(this, other);
 }
Exemplo n.º 12
0
 public Word64BitMatrix(IBitMatrix matrix)
     : this(matrix.Rows, matrix.Cols)
 {
     BitMatrixHelper.CopyNonZero(this, matrix);
 }