Boost C++ Libraries: Ticket #3396: add a sparse_view class that wraps pre-allocated data into a matrix expression https://svn.boost.org/trac10/ticket/3396 <p> Provide a way to use ublas with pre-allocated data. Implement a matrix view of a CRS matrix as proof of concept. Details: </p> <ul><li>given 3 arrays: row pointers, column indices, values (<a class="ext-link" href="http://www.netlib.org/utk/papers/templates/node90.html"><span class="icon">​</span>http://www.netlib.org/utk/papers/templates/node90.html</a>) </li></ul><ul><li>provide a wrapper that fulfills the immutable part of the matrix expression </li></ul><p> Further tasks: </p> <ul><li>split the current matrix and vector concepts into immutable and mutable parts in order to gain a "read-only view" concept and a full featured "expression" concept </li></ul><ul><li>improve traits mechanism and apply it where possible to automatically see a fixed size C-array as vector view or matrix view </li></ul><ul><li>add necessary tests </li></ul> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3396 Trac 1.4.3 Gunter Thu, 03 Sep 2009 22:11:23 GMT <link>https://svn.boost.org/trac10/ticket/3396#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3396#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56003" title="see #3396 traits.hpp: * split traits into &#34;view traits&#34; and ...">[56003]</a>) see <a class="assigned ticket" href="https://svn.boost.org/trac10/ticket/3396" title="#3396: Feature Requests: add a sparse_view class that wraps pre-allocated data into a matrix ... (assigned)">#3396</a> </p> <p> traits.hpp: </p> <ul><li>split traits into "view traits" and "mutable traits" </li></ul><p> experimental: </p> <ul><li>added new folder for emerging/unfinished features </li></ul><p> experimental/sparse_view.hpp: </p> <ul><li>added new class c_array_view which presents a T* array and a size as vector_view </li></ul><ul><li>added new class compressed_matrix_view which wraps three arrays into a matrix_view </li></ul><p> detail/concepts.hpp: </p> <ul><li>prepared vector_view concept (still disabled because further work is needed here) </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Thu, 03 Sep 2009 23:01:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3396#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3396#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56005" title="see #3396 test/concepts.cpp: * prepared test for vector_view and ...">[56005]</a>) see <a class="assigned ticket" href="https://svn.boost.org/trac10/ticket/3396" title="#3396: Feature Requests: add a sparse_view class that wraps pre-allocated data into a matrix ... (assigned)">#3396</a> </p> <p> test/concepts.cpp: </p> <ul><li>prepared test for vector_view and sparse_view (still disabled) </li></ul><p> test/sparse_view_test.cpp: </p> <ul><li>test case for sparse_view, currently only operator(i,j) is tested </li></ul><p> test/Jamfile.v2: </p> <ul><li>added new test case to test suite </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Thu, 03 Sep 2009 23:02:22 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3396#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3396#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56006" title="see #3396 doc/expression_concept.htm: * splitted required methods ...">[56006]</a>) see <a class="assigned ticket" href="https://svn.boost.org/trac10/ticket/3396" title="#3396: Feature Requests: add a sparse_view class that wraps pre-allocated data into a matrix ... (assigned)">#3396</a> </p> <p> doc/expression_concept.htm: </p> <ul><li>splitted required methods into to const and non-const methods </li><li>fixed minor typos </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Mon, 05 Oct 2009 21:02:26 GMT</pubDate> <title>status, milestone changed https://svn.boost.org/trac10/ticket/3396#comment:4 https://svn.boost.org/trac10/ticket/3396#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.41.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> <p> rescheduled in favor of other tasks </p> Ticket Gunter Tue, 06 Oct 2009 23:13:48 GMT <link>https://svn.boost.org/trac10/ticket/3396#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3396#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56624" title="see #3396 (view concepts), see #3449 (new free functions) * merged ...">[56624]</a>) see <a class="assigned ticket" href="https://svn.boost.org/trac10/ticket/3396" title="#3396: Feature Requests: add a sparse_view class that wraps pre-allocated data into a matrix ... (assigned)">#3396</a> (view concepts), see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3449" title="#3449: Feature Requests: introduce new free functions to access matrix/vector properties (closed: fixed)">#3449</a> (new free functions) </p> <ul><li>merged <a class="changeset" href="https://svn.boost.org/trac10/changeset/51765" title="fwd.hpp: * default arguments for generalized_vector_of_vector ...">[51765]</a>,<a class="changeset" href="https://svn.boost.org/trac10/changeset/56003" title="see #3396 traits.hpp: * split traits into &#34;view traits&#34; and ...">[56003]</a>,<a class="changeset" href="https://svn.boost.org/trac10/changeset/56600" title="see #3449: introduce new free functions to access matrix/vector ...">[56600]</a>,<a class="changeset" href="https://svn.boost.org/trac10/changeset/56602" title="see #3449: introduce new free functions to access matrix/vector ...">[56602]</a>,<a class="changeset" href="https://svn.boost.org/trac10/changeset/56621" title="see #3449: introduce new free functions to access matrix/vector ...">[56621]</a> into release </li><li>added new free functions to simplify learning uBLAS </li></ul> </description> <category>Ticket</category> </item> </channel> </rss>