| 212 | } |
| 213 | |
| 214 | void SparseUnsortedArray::append( unsigned index, double value ) |
| 215 | { |
| 216 | if ( _allocatedSize == _nnz ) |
| 217 | increaseCapacity(); |
| 218 | |
| 219 | _array[_nnz] = Entry( index, value ); |
| 220 | ++_nnz; |
| 221 | } |
| 222 | |
| 223 | void SparseUnsortedArray::addLastEntry( double entry ) |
| 224 | { |