Re: Fast compressed_matrix from CSR/CSC triplets

Rishi Amrit <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <CADxzdOu8VQ1Ui7cVw2MszrPeCBZvJ8SRgqyn1wLPJEQGW-BqHA@mail.gmail.com>
Just to add to the woes, I may have the row/column indices vector
(i.e. the one that corresponds to index2_data()) as unsorted.

On Thu, May 31, 2012 at 2:24 PM, Rishi Amrit <[email protected]> wrote:
> Hi,
>
>  This might be trivial question, but I need to construct a compressed_matrix from
> CSR / CSC triplets.
> At the moment I'm using a nested for loop and using push_back,
> but this is very slow. There has to be a faster way of constructing the sparse
> matrix object from the CSR triplets. Any ideas ?
>
> R
>
> _______________________________________________
> ublas mailing list
> [email protected]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: [email protected]
_______________________________________________
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.