MCPcopy Create free account
hub / github.com/Singular/Singular / MakeBitMatrix

Function MakeBitMatrix

ppcc/adlib/bitset.cc:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99BitMatrix *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
106BitMatrix *Clone(BitMatrix *mat) {
107 BitMatrix *result = new BitMatrix(mat->len());

Callers 3

MainFunction · 0.85
TransposeFunction · 0.85
TransitiveClosureFunction · 0.85

Calls 1

addMethod · 0.45

Tested by 1

MainFunction · 0.68