Boost logo

Ublas :

Subject: Re: [ublas] compessed_matrix updating issue
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2012-02-29 14:47:37


petros wrote:
> I have a compressed_matrix column oriented matrix.
> I reead a Harwell Boeing file, so I can know its sizes and nbrNon0Elements, as well
> .the index arrays and the value data.
> So I create my matrix, and obtain references to the 3 arrays
> which I fill manually (i.e. by reading the file).
> Upon inspection of the matrix arrays, I see everything to be OK
> ( as expected) but the subscript operator gives 0’s.
> Also it appears the the iterators are invalidated – not sure about this though.
> Apparently there has to be a mechanism to  “lock” things down.
> What do I need to do ?

I guess you have "forgotten" to call "set_filled"...

Regards,
Thomas