MCPcopy Create free account
hub / github.com/XJTU-Graphics/dandelion / SparseMatrix

Method SparseMatrix

deps/Eigen/src/SparseCore/SparseMatrix.h:761–761  ·  view source on GitHub ↗

Default constructor yielding an empty \c 0 \c x \c 0 matrix */

Source from the content-addressed store, hash-verified

759
760 /** Default constructor yielding an empty \c 0 \c x \c 0 matrix */
761 inline SparseMatrix() : m_outerSize(0), m_innerSize(0), m_outerIndex(0), m_innerNonZeros(0) { resize(0, 0); }
762
763 /** Constructs a \a rows \c x \a cols empty matrix */
764 inline SparseMatrix(Index rows, Index cols) : m_outerSize(0), m_innerSize(0), m_outerIndex(0), m_innerNonZeros(0) {

Callers

nothing calls this directly

Calls 5

swapMethod · 0.95
resizeFunction · 0.70
call_assignment_no_aliasFunction · 0.50
operator=Function · 0.50
evalToMethod · 0.45

Tested by

no test coverage detected