Preallocates \a reserveSize non zeros. * * Precondition: the matrix must be in compressed mode. */
| 298 | * |
| 299 | * Precondition: the matrix must be in compressed mode. */ |
| 300 | inline void reserve(Index reserveSize) |
| 301 | { |
| 302 | eigen_assert(isCompressed() && "This function does not make sense in non compressed mode."); |
| 303 | m_data.reserve(reserveSize); |
| 304 | } |
| 305 | |
| 306 | #ifdef EIGEN_PARSED_BY_DOXYGEN |
| 307 | /** Preallocates \a reserveSize[\c j] non zeros for each column (resp. row) \c j. |
no outgoing calls
no test coverage detected