[eigen] part<SelfAdjoint> in Eigen3 |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: [eigen] part<SelfAdjoint> in Eigen3*From*: "ESCANDE Adrien 222264" <adrien.escande@xxxxxx>*Date*: Thu, 29 Jul 2010 14:39:18 +0200*Thread-index*: AcsvGw9sTC9XUk0STnOosnzcV3ASEQ==*Thread-topic*: part<SelfAdjoint> in Eigen3

Hello, Eigen2 documentation mentions the way to obtain an optimized
computation for an _expression_ evaluating to a selfadjoint matrix: n.part<SelfAdjoint>() = m+m.adjoint ;
(1) n.part<SelfAdjoint>() = (m*m.adjoint()).lazy();
(2) I didn’t find the way to have that in Eigen3 (MatrixBase>Derived>::part
is still there but flagged as deprecated). The Porting from Eigen2 to Eigen3
page does not mention this case (it gives only the translation for
part<SelfAdjoint|Upper> and part<SelfAdjoint|Lower>). Is there a
new direct way to perform such computations? And what would be the best way to write (2) when m
itself is selfadjoint? Adrien |

**Follow-Ups**:**Re: [eigen] part<SelfAdjoint> in Eigen3***From:*Benoit Jacob

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Do we need geometry refactoring?** - Next by Date:
**Re: [eigen] Do we need geometry refactoring?** - Previous by thread:
**Re: [eigen] Do we need geometry refactoring?** - Next by thread:
**Re: [eigen] part<SelfAdjoint> in Eigen3**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |