Re: [eigen] symmetric matrix

[ Thread Index | Date Index | More Archives ]

On 02/09/2012 04:20 PM, Gael Guennebaud wrote:

there is no compact symmetric storage if that's what you were looking
for. On the other hand the selfadjoint-view allows you to do many
optimized symmetric operations by working on an half dense matrix
(products, rank updates, cholesky factorization, etc.). You can also
pack two symmetric matrices into a single dense one to save some
bytes.... If you don't want to write .selfadjointView<Lower>() every
time you can name a view:

MatrixXd mat(n,n);
SelfadjointView<MatrixXd,Lower>  sym(mat);



On Thu, Feb 9, 2012 at 8:42 PM, Christopher Petrovitch
<cpetrovi@xxxxxxxxxx>  wrote:

I noticed that there isn't a symmetric matrix class in any of the documentation (or doxygen docs) and was wondering if I was just missing it or if there is no symmetric class?  I saw there was a self-adjoint view however... What is the difference between a view and the actual matrix type class?


aah, I see.  Thanks!

Mail converted by MHonArc 2.6.19+