Boost logo

Ublas :

Subject: Re: [ublas] Fast compressed_matrix from CSR/CSC triplets
From: Rishi Amrit (rishiamrit_at_[hidden])
Date: 2012-05-31 17:12:26


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 <rishiamrit_at_[hidden]> 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
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: rishiamrit_at_[hidden]