MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / getNnz

Method getNnz

src/basis_factorization/SparseUnsortedLists.cpp:271–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271unsigned SparseUnsortedLists::getNnz() const
272{
273 unsigned result = 0;
274 for ( unsigned i = 0; i < _m; ++i )
275 result += _rows[i]->getNnz();
276
277 return result;
278}
279
280void SparseUnsortedLists::toDense( double *result ) const
281{

Callers 1

countElementsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected