|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-02-26 08:33:44
On Monday 26 February 2007 13:41, Norman wrote:
> Hi everybody!
>
> I am trying to compute the outer product of two vectors using the atlas
> bindings and more precisely atlas::syr, but apparently there is a
> problem with the traits that defines the symmetric matrix, that is: it
> works with symmetric_adaptor but not with symmetric_matrix directly!
The problem is, that ublas uses packed storage for symmetric matrices and blas
usually expects a dense matrix (and updates only part of it). That's why this
only works with a dense matrix combined with a symmetric_adaptor.
mfg
Gunter