Subject: Re: [ublas] [bindings] Which Bindings should I direct my users to? Boost proper?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-07-19 02:52:47
Thomas Klimpel wrote:
> Looking at the workspace issue for clapack, I noticed an unused "work"
> argument for the optimal_workspace and minimal_workspace cases (easy to
> fix by just modifying the template). But I decided to first try to reduce
> the size of the generated files by trying to address the perfect
> forwarding issue. (Reducing the file size is a good idea, if somebody
> really wants to include <boost/numeric/bindings/lapack.hpp>). It turned
> out I was not clever enough (but David Abrahams was, see below), so I gave
> up and instead turned off generating overloads for "Vector" arguments. But
> because I still wanted to generate overloads for "Vector" arguments that
> support general strides, I introduced the name "VectorView" for these
> arguments (I settled for this name as it required the fewest changes to
> the code generator). I noticed that this also improved the documentation,
> as it was difficult before to know whether a vector argument was actually
> restricted to be a continuous region in memory (stride=1) or not. I also
> rejoiced when I noticed that the largest generated file was now ~100 kB, a
> significant reduction from the previous 10 MB.
I guess I missed the point somewhere. What exactly does Vector/VectorView
solve? (besides being better for the documentation)