MCPcopy Create free account
hub / github.com/dblalock/bolt / finalize

Method finalize

cpp/src/external/eigen/src/SparseCore/SparseMatrix.h:417–433  ·  view source on GitHub ↗

\internal * Must be called after inserting a set of non zero entries using the low level compressed API. */

Source from the content-addressed store, hash-verified

415 * Must be called after inserting a set of non zero entries using the low level compressed API.
416 */
417 inline void finalize()
418 {
419 if(isCompressed())
420 {
421 StorageIndex size = internal::convert_index<StorageIndex>(m_data.size());
422 Index i = m_outerSize;
423 // find the last filled column
424 while (i>=0 && m_outerIndex[i]==0)
425 --i;
426 ++i;
427 while (i<=m_outerSize)
428 {
429 m_outerIndex[i] = size;
430 ++i;
431 }
432 }
433 }
434
435 //---
436

Callers 6

factorizeMethod · 0.80
runMethod · 0.80
assign_sparse_to_sparseFunction · 0.80
factorizeMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected