Re: bug on compressed_matrix ?

Thomas Klimpel <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <4468C9C2AE594745A32DC93C799A224A031F8C@DE02WEMBX2.internal.synopsys.com>
Riccardo Rossi wrote:
> i am kind of shocked...
>
> doesn't ublas guarantee the exact csr format???

What exactly are you shocked about?
1) The fact that the member functions "index1_data()" and "index2_data()" return references to internal storage (instead of some proxy view object), so that the user has to also query "filled1()" and "filled2()"
2) The fact that empty trailing rows will be ignored, unless you call the "complete_index1_data()" member function

I think you can achieve the exact csr format with ublas, even so it isn't an invariant of compressed_matrix. You just have to call the right member functions.

Regards,
Thomas
_______________________________________________
ublas mailing list
[email protected]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.