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

Method SparseMatrix

Eigen/src/SparseCore/SparseMatrix.h:659–664  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

657
658 /** Default constructor yielding an empty \c 0 \c x \c 0 matrix */
659 inline SparseMatrix()
660 : m_outerSize(-1), m_innerSize(0), m_outerIndex(0), m_innerNonZeros(0)
661 {
662 check_template_parameters();
663 resize(0, 0);
664 }
665
666 /** Constructs a \a rows \c x \a cols empty matrix */
667 inline SparseMatrix(Index rows, Index cols)

Callers

nothing calls this directly

Calls 3

call_assignment_no_aliasFunction · 0.85
resizeFunction · 0.70
evalToMethod · 0.45

Tested by

no test coverage detected