MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / initAssignment

Function initAssignment

Externals/eigen/Eigen/src/SparseCore/SparseMatrix.h:798–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796# endif
797
798protected:
799
800 template<typename Other>
801 void initAssignment(const Other& other)
802 {
803 resize(other.rows(), other.cols());
804 if(m_innerNonZeros)
805 {
806 std::free(m_innerNonZeros);
807 m_innerNonZeros = 0;
808 }
809 }
810
811 /** \internal
812 * \sa insert(Index,Index) */

Callers 2

SparseMatrixFunction · 0.85
SparseMatrix.hFile · 0.85

Calls 3

resizeFunction · 0.70
rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected