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));
 }
示例#8
0
 public int GetColWeight(int col)
 {
     return(BitMatrixHelper.GetColWeight(this, col));
 }
示例#9
0
 public IEnumerable <int> GetNonZeroRows(int col)
 {
     return(BitMatrixHelper.GetNonZeroRows(this, col));
 }
示例#10
0
 public new void Clear()
 {
     BitMatrixHelper.Clear(this);
 }
示例#11
0
 public BoolBitMatrix(IBitMatrix other)
     : this(other.Rows, other.Cols)
 {
     BitMatrixHelper.CopyNonZero(this, other);
 }
 public Word64BitMatrix(IBitMatrix matrix)
     : this(matrix.Rows, matrix.Cols)
 {
     BitMatrixHelper.CopyNonZero(this, matrix);
 }