RE: [eigen] Predefined SymmetircMatirx, BandedMatrix and PositiveDefiniteMatrix in Eigen |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: RE: [eigen] Predefined SymmetircMatirx, BandedMatrix and PositiveDefiniteMatrix in Eigen
- From: "Hongyu Miao" <jackymiao@xxxxxxxxx>
- Date: Wed, 20 Jul 2011 10:30:48 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; bh=uCU0SirgeModn7BnWntsWMPBSYM3ELQuRSnnCPop7wk=; b=iGN7TdsPp7nmiMV7R658+w77C4ewwIVo3j0LLfPAhXH5EUU+vkPS6jnRW/aBjmCXJ/ zaG3iRP+UcjdplV4CYj8AfyTkyp37jEtThSIGWjJBNey3dC4YvczGgEtoK1iBR5mlP1b cfXzF8bGIvi6zTz9PAFYaC4QUbk9q8BQRTcJo=
- Thread-index: AQH7tYTdAidmKoCI5NzJu4jTYuIoQQI5+/YOlISXgjA=
Thanks, Douglas. The SelfAdjointView does help. Will be there any plan to
implement BandedMatrix and PositiveDefiniteMatrix in EIGEN?
Best,
Jacky
-----Original Message-----
From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of Douglas
Bates
Sent: Wednesday, July 20, 2011 10:16 AM
To: eigen@xxxxxxxxxxxxxxxxxxx
Subject: Re: [eigen] Predefined SymmetircMatirx, BandedMatrix and
PositiveDefiniteMatrix in Eigen
On Wed, Jul 20, 2011 at 8:08 AM, Hongyu Miao <jackymiao@xxxxxxxxx> wrote:
> Hi, All
>
> I?m wondering why there are not predefined data types for
> SymmetircMatirx, BandedMatrix and PositiveDefiniteMatrix in Eigen.
> These are important in computing and boost::ublas has all such things
> except for PositiveDefiniteMatrix.
But there is a SelfAdjointView class and a .selfadjointView() method for
symmetric matrix manipulations. Similarly TriangularView and
..triangularView() for triangular matrix manipulations. ublas uses packed
storage for symmetric and triangular matrices, if I recall correctly, but
Eigen uses the same underlying representation (full dense or sparse
matrices) with additional properties and access methods. There are
advantages and disadvantages to either approach.
It may be confusing that the term "self-adjoint" is used instead of
"symmetric" but for complex matrices there is a distinction between
symmetric and Hermitian so self-adjoint is a more precise term.