Boost logo

Ublas :

From: Marco (brbromo_at_[hidden])
Date: 2006-09-15 08:21:08


On 9/15/06, Georg Baum <Georg.Baum_at_[hidden]> wrote:
> Not at all. You can also use column major matrices with ublas:
>
> using namespace boost::numeric::ublas;
> typedef matrix<double, column_major> mymatrix;
>
> row major is simply the default if you don't sepcify the template parameter.
> I do this all the time because I interface with several fortran libraries
> (including lapack), and it works well. The only thing you have to keep in
> mind is that you write your own algorithms in column major version, but
> that is only for performance reasons.

There's always something new to learn. Thank you, Georg!

Bye,
Marco