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:10:42
#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@â¦):
Hi Andrea,
I just saw your post as I am getting ready to upload the new version of
assignment operator.
Anyway, you have some nice comments and as having worked on the subject I
would like to add my experience:
1. My first choice was to take a look at Boost::Assign. The basics of the
ublas assignment code are inspired from Boost::Assign, but because of the
relatively small (just 50 or 60) lines of code that were needed from Boost
Assign, the rest should be considerably different (because of matrices and
especially sparse containers).
2. I am not sure whether it must be restricted to just rows (or columns).
Anyway the code following allows for that behaviour if such verbosity is
desired, based on Gunter's comments in the mailing list.
Best
Nasos
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4034#comment:3> 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