Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2007-07-11 14:14:44


For sparse matrices, look at Gunter's examples:


choon wrote:
> Hi,
> May I know if there are ways to fill the entries of a sparse/dense matrix
> besides this: M(i,j) = value?
> For sparse (compressed sparse row) matrix, I could provide data in the
> standard (rows,columns,values) format, whereas for dense matrix, I have a
> long 1D array of length = num_rows*num_columns.
> Thanks,
> Choon

Nico Galoppo        UNC-CH PhD.student
                    cell +1-919-360-5056