Turns the matrix into the uncompressed mode */
| 622 | |
| 623 | /** Turns the matrix into the uncompressed mode */ |
| 624 | void uncompress() |
| 625 | { |
| 626 | if (!isCompressed()) return; |
| 627 | m_innerNonZeros = internal::conditional_aligned_new_auto<StorageIndex, true>(m_outerSize); |
| 628 | if (m_outerIndex[m_outerSize] == 0) |
| 629 | std::fill_n(m_innerNonZeros, m_outerSize, StorageIndex(0)); |
| 630 | else |
| 631 | for (Index j = 0; j < m_outerSize; j++) m_innerNonZeros[j] = m_outerIndex[j + 1] - m_outerIndex[j]; |
| 632 | } |
| 633 | |
| 634 | /** Suppresses all nonzeros which are \b much \b smaller \b than \a reference under the tolerance \a epsilon */ |
| 635 | void prune(const Scalar& reference, const RealScalar& epsilon = NumTraits<RealScalar>::dummy_precision()) |
no outgoing calls
no test coverage detected