Preallocates \a reserveSize non zeros. * * Precondition: the matrix must be in compressed mode. */
| 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. |
no outgoing calls