Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-06-08 17:39:49


Gunter Winkler wrote:
> You ask for compressed_matrix<double, row_major> and the 3 array are
> index1_data() // aka row_ptr (pointer to the start of row k)
> index2_data() // aka col_idx (column indices)
> value_data() // values corresponding to col_idx
>
>
I forgot to mention that you have to call

A.complete_index1_data();

before passing the compressed_matrix to external functions because uBLAS
fills index1_data() only on demand (read: only up to the last used row
index + 1)

mfg
Gunter