| 127 | /** \returns the number of non zeros in the current sub vector */ |
| 128 | template<typename _Scalar,typename _StorageIndex> |
| 129 | Index AmbiVector<_Scalar,_StorageIndex>::nonZeros() const |
| 130 | { |
| 131 | if (m_mode==IsSparse) |
| 132 | return m_llSize; |
| 133 | else |
| 134 | return m_end - m_start; |
| 135 | } |
| 136 | |
| 137 | template<typename _Scalar,typename _StorageIndex> |
| 138 | void AmbiVector<_Scalar,_StorageIndex>::init(double estimatedDensity) |
no outgoing calls
no test coverage detected