Turns the matrix into the uncompressed mode */
| 493 | |
| 494 | /** Turns the matrix into the uncompressed mode */ |
| 495 | void uncompress() |
| 496 | { |
| 497 | if(m_innerNonZeros != 0) |
| 498 | return; |
| 499 | m_innerNonZeros = static_cast<StorageIndex*>(std::malloc(m_outerSize * sizeof(StorageIndex))); |
| 500 | for (Index i = 0; i < m_outerSize; i++) |
| 501 | { |
| 502 | m_innerNonZeros[i] = m_outerIndex[i+1] - m_outerIndex[i]; |
| 503 | } |
| 504 | } |
| 505 | |
| 506 | /** Suppresses all nonzeros which are \b much \b smaller \b than \a reference under the tolerence \a epsilon */ |
| 507 | void prune(const Scalar& reference, const RealScalar& epsilon = NumTraits<RealScalar>::dummy_precision()) |
no outgoing calls
no test coverage detected