[eigen] How to get triangular lower part of a matrix with dev branche ? |

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

*To*: <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: [eigen] How to get triangular lower part of a matrix with dev branche ?*From*: <vincent.lejeune@xxxxxxxxxx>*Date*: Thu, 20 May 2010 12:16:08 +0200

Hi, I'm trying to get the lower triangular part of a (non-square) matrix, but it seems that the part() function is deprecated in Eigen 2.91. Using mat.triangularView<Lower>(), I meet the following compile error : error: invalid initialization of non-const reference of type ‘Eigen::TriangularView<Eigen::Matrix<double, 4, 4, 0, 4, 4>, 1u>&’ from a temporary of type ‘Eigen::TriangularView<Eigen::Matrix<double, 4, 4, 0, 4, 4>, 1u>’ That I do not really understand... Thx

**Follow-Ups**:**Re: [eigen] How to get triangular lower part of a matrix with dev branche ?***From:*Benoit Jacob

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Very interesting read which might be important for us** - Next by Date:
**Re: [eigen] How to get triangular lower part of a matrix with dev branche ?** - Previous by thread:
**Re: [eigen] Very interesting read which might be important for us** - Next by thread:
**Re: [eigen] How to get triangular lower part of a matrix with dev branche ?**

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