Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2005-02-04 09:05:29


On Friday 04 February 2005 15:01, Thomas Lemaire wrote:
> In ublas, the default for the matrix is row_major, does it mean there
> are optimization for this storage layout ?? Is it less efficient to use
> column_major layout ?
>
> I start using bindings to lapack, so I understand I need to use
> column_major matrix.
>
> cheers

Both layouts should be equally (sub)/optimal!
column_major sounds like a good choice if you wish to interface to LAPACK.

Michael

-- 
___________________________________
Michael Stevens Systems Engineering
Navigation Systems, Estimation  and
                 Bayesian Filtering
    http://bayesclasses.sf.net
___________________________________