Boost logo

Ublas :

From: choon (teochoonhui_at_[hidden])
Date: 2007-07-11 22:06:12


Hi nico,

Nico Galoppo wrote:
>
> Choon,
>
> For sparse matrices, look at Gunter's examples:
>
> http://www.guwi17.de/ublas/matrix_sparse_usage.html
>
> --nico
>

Thanks for your reply. Actually, what I was looking for is the way to access
the memory location used by compressed_matrix, i.e., the rowptr, col and
val.
In other words, can I access the underlying mem location of index1_data(),
index2_data() and value_data() directly? Are those data structures allocated
sufficient memory space (assumming I provide num_row, num_col and nnz to the
compressed_matrix constructor)?

Thank you very much in advance,
Choon

-- 
View this message in context: http://www.nabble.com/fill-the-entries-of-sparse-and-dense-matrices-tf4062731.html#a11552518
Sent from the Boost - uBLAS mailing list archive at Nabble.com.