Boost logo

Ublas :

From: Manoj Rajagopalan (rmanoj_at_[hidden])
Date: 2006-10-21 15:00:05


hi,

   I'm a little confused about this concept. what purpose to
triangular_adaptor, symmetric_adaptor etc solve?

    The examples show:

     matrix<double> m(3,3);
     triangular_adaptor<matrix<double>, lower> sal(m, 1, 1);

Why must I create m first and then use an adaptor to make it look
triangular. If I knew m ought to be triangular, then could I just not
declare m to be of type triangular_matrix<double> ?

thanks
Manoj