Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2006-10-03 22:32:49


Gunther

I know this thread is not recent, but as a follow-up, does your code also work
for sparse matrices with

typedef boost::numeric::ublas::compressed_matrix<TINY> BIG;

Thanks!

--nico

Gunter Winkler wrote:
> // define matrix/vector types
>
> typedef boost::numeric::ublas::bounded_matrix<double, 3, 3> TINY;
> typedef boost::numeric::ublas::matrix<TINY> BIG;
>
> typedef boost::numeric::ublas::bounded_vector<double, 3> TINY_VEC;
> typedef boost::numeric::ublas::vector<TINY_VEC> BIG_VEC;
>
> // define new promote traits