Boost logo

Ublas :

Subject: [ublas] Fast compressed_matrix from CSR/CSC triplets
From: Rishi Amrit (rishiamrit_at_[hidden])
Date: 2012-05-31 15:24:45


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