MCPcopy Create free account
hub / github.com/Derious/cuMPC / cols

Method cols

dependence/eigen-3.4.0/Eigen/src/SparseCore/SparseMatrix.h:140–140  ·  view source on GitHub ↗

\returns the number of columns of the matrix */

Source from the content-addressed store, hash-verified

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
142 /** \returns the number of rows (resp. columns) of the matrix if the storage order column major (resp. row major) */
143 inline Index innerSize() const { return m_innerSize; }

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