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