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

Method initAssignment

Eigen/src/SparseCore/SparseMatrix.h:850–858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848
849 template<typename Other>
850 void initAssignment(const Other& other)
851 {
852 resize(other.rows(), other.cols());
853 if(m_innerNonZeros)
854 {
855 std::free(m_innerNonZeros);
856 m_innerNonZeros = 0;
857 }
858 }
859
860 /** \internal
861 * \sa insert(Index,Index) */

Callers

nothing calls this directly

Calls 3

resizeFunction · 0.70
rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected