MCPcopy Create free account
hub / github.com/abess-team/abess / reserve

Method reserve

python/include/Eigen/src/SparseCore/SparseMatrix.h:262–266  ·  view source on GitHub ↗

Preallocates \a reserveSize non zeros. * * Precondition: the matrix must be in compressed mode. */

Source from the content-addressed store, hash-verified

260 *
261 * Precondition: the matrix must be in compressed mode. */
262 inline void reserve(Index reserveSize)
263 {
264 eigen_assert(isCompressed() && "This function does not make sense in non compressed mode.");
265 m_data.reserve(reserveSize);
266 }
267
268 #ifdef EIGEN_PARSED_BY_DOXYGEN
269 /** Preallocates \a reserveSize[\c j] non zeros for each column (resp. row) \c j.

Callers 15

factorizeMethod · 0.45
reserveFunction · 0.45
SparseVector.hFile · 0.45
runMethod · 0.45
assign_sparse_to_sparseFunction · 0.45
reserveInnerVectorsMethod · 0.45
set_from_tripletsFunction · 0.45
SparseMatrix.hFile · 0.45
runMethod · 0.45
analyzePatternMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected