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

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


2010/5/20  <vincent.lejeune@xxxxxxxxxx>:
>
> 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 :

Sounds like  a bug. Can you send us a test program reproducing it?

Benoit


>
>
>
> 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
>
>
>



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