<div dir="ltr">Hello Markus sir,<br>    This is regarding "Implement Inserter Concept for DUNE's (Sparse) Matrices".<br><br>I think most of the work that we will need at the time of implementing inserter will be somewhat similar to the random scheme of implementing CRS.The difference will be the fixed size of row(slot) instead of setting row size for each row. Searching for elements will always take O(logN) time for both compressed_base_array_unmanaged and std::map<>. <br>
<br>When i was reading code in "bvector.hh" file, I found this on line number 997<br><br>if (&a!=this) // check if this and a are different objects<br>{<br>    // copy data<br>    for (size_type i=0; i<this->n; i++) this->p[i]=a.p[i];<br>
    for (size_type i=0; i<this->n; i++) this->j[i]=a.j[i];<br>}<br><br>cant we reduce it to O(N) instead of O(2N) in single loop<br>for(size_type i=0; i<this->n;i++)<br>{<br>    this->p[i]=a.p[i];<br>    this->j[i]=a.j[i];<br>
}<br><br>And I have some confusion related to iterators, but i am working on it now.<br>Thanks.<br></div>