|
Ublas : |
Subject: Re: [ublas] matrix_expression
From: Oswin Krause (Oswin.Krause_at_[hidden])
Date: 2011-11-09 11:31:24
Hi,
did you take a look at the numeric::bindings package? it has already a
working wrapper for Lapack.
http://mathema.tician.de/software/boost-numeric-bindings
you can define your matrices such that they have column major format. see
the second template parameter of ublas::matrix. setting it to
ublas::column_major solves the alignment problems.
The rest of your code looks a bit shady, so i refrain from answering to
that part :)
Greetings,
Oswin