MCPcopy Create free account
hub / github.com/cvxpy/cvxpy / rows

Method rows

cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:138–138  ·  view source on GitHub ↗

\returns the number of rows of the matrix */

Source from the content-addressed store, hash-verified

136
137 /** \returns the number of rows of the matrix */
138 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; }
139 /** \returns the number of columns of the matrix */
140 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; }
141

Callers 5

conservativeResizeMethod · 0.95
assignDiagonalMethod · 0.95
initAssignmentMethod · 0.45
set_from_tripletsFunction · 0.45
SparseMatrix.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected