Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-11-28 06:40:45


using non standard types as size_type (or index type) in sparse matrices
implies using non standard types in row_major. Thus the correct declaration
of a compressed matrix should look like:

typedef compressed_matrix<
    basic_row_major<unsigned INT, signed INT>,
    unbounded_array<unsigned INT>,

where INT is any integer type. Note that I replaced the default row_major
(which is basic_row_major<size_t, ptr_diff_t>) by basic_row_major<Z,D>.

This change breaks some specializations of axpy_prod which use row_major and
column_major instead of the generic basic_row_major<Z,D> and
(Z ... integral type: 0 <= z <= max, D ... integral type: -max <= d <= max)

Similar changes should be made for each occurrence of row_major/column_major.