MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / reserve

Method reserve

include/Eigen/src/SparseCore/SparseMatrix.h:314–317  ·  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

312 *
313 * Precondition: the matrix must be in compressed mode. */
314 inline void reserve(Index reserveSize) {
315 eigen_assert(isCompressed() && "This function does not make sense in non compressed mode.");
316 m_data.reserve(reserveSize);
317 }
318
319#ifdef EIGEN_PARSED_BY_DOXYGEN
320 /** Preallocates \a reserveSize[\c j] non zeros for each column (resp. row) \c j.

Callers 15

loadFunction · 0.45
toSparseMethod · 0.45
toSparseMethod · 0.45
factorizeMethod · 0.45
reserveFunction · 0.45
SparseVector.hFile · 0.45
runMethod · 0.45
assign_sparse_to_sparseFunction · 0.45
reserveInnerVectorsMethod · 0.45
SparseMatrix.hFile · 0.45

Calls

no outgoing calls

Tested by 2

readInputFromFileFunction · 0.36
readMethod · 0.36