Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4034: better vector/matrix assignment (or initialization)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-10 23:28:34
#4034: better vector/matrix assignment (or initialization)
------------------------------+---------------------------------------------
Reporter: guwi17 | Owner: guwi17
Type: Patches | Status: new
Milestone: To Be Determined | Component: uBLAS
Version: Boost 1.42.0 | Severity: Optimization
Keywords: assigment |
------------------------------+---------------------------------------------
Comment(by nasos_i@â¦):
Based on the comments by Gunter
(http://lists.boost.org/MailArchives/ublas/2010/03/4121.php)
and David (http://lists.boost.org/MailArchives/ublas/2010/03/4123.php), I
attach the new version of the assignment operator (assignment2.zip). The
main differences with the previous are the following:
1. Added a number of manipulators based on standard library concepts (like
std::setprecision). Those allow for functionality like moving to the next
row or column, moving to the begining of a row, etc.
2. Changed the assigner overall design from tag dispatch based to policy
based. I figured out that this allows for better extensibility.
3. Added a fairly extensive number of unit tests (this takes some time to
compile)
4. Added benchmarks that show that the performance is equivalent to
classical assignment even for small containers.
5. Added a number of examples of how the assignment may be used in a
variety of situations.
6. Commented most of the code.
7. Changed the operator from << to <<=, as I feel it is more
representative of the work done by the assignment.
Best regards
Nasos
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4034#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC