Fast compressed_matrix from CSR/CSC triplets

Rishi Amrit <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <[email protected]>
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]
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.