MCPcopy Create free account
hub / github.com/SS47816/fiss_planner / finalize

Function finalize

include/fiss_planner/Eigen/src/SparseCore/SparseMatrix.h:413–429  ·  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

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

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected