Re: [eigen] Matrix::RowXpr::Nested is a reference...

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


2009/10/2 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
>
>
> On Fri, Oct 2, 2009 at 2:15 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
> wrote:
>>
>> Ah yes and for plain matrices, you really want to pass them by const
>> reference, so you'd still have to edit ei_nested to handle that case
>> separately, with a condition like:
>>
>>  ei_is_same_type<T,  typename T::PlainMatrixType>::ret
>
> a template specialization of ei_nest for Matrix is probably much simpler and
> definitely more scalable

True !

Benoit



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