| 97 | } |
| 98 | |
| 99 | BitMatrix *MakeBitMatrix(Int rows, Int cols) { |
| 100 | BitMatrix *result = new BitMatrix(); |
| 101 | for (Int i = 0; i < rows; i++) |
| 102 | result->add(new BitSet(cols)); |
| 103 | return result; |
| 104 | } |
| 105 | |
| 106 | BitMatrix *Clone(BitMatrix *mat) { |
| 107 | BitMatrix *result = new BitMatrix(mat->len()); |