MCPcopy Create free account
hub / github.com/PX4/eigen / finalize

Method finalize

Eigen/src/SparseCore/SparseMatrix.h:422–438  ·  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

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

Callers 14

factorizeMethod · 0.45
runMethod · 0.45
assign_sparse_to_sparseFunction · 0.45
factorizeMethod · 0.45
initSparseFunction · 0.45
sparse_basicFunction · 0.45
initSPDFunction · 0.45
setinnerrand_eigenFunction · 0.45
setrand_eigen_dynamicFunction · 0.45
setrand_eigen_sumeqFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected