Re: [eigen] Bug in traspose

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


On Friday 18 January 2008 07:25:58 Benoît Jacob wrote:
> On Friday 18 January 2008 01:48:52 Schleimer, Ben wrote:
> > I wonder how tvmet gets
> > m = 1, 2,
> >     3, 4;
> >
> > to work if the , operator is only overloaded in the Matrix<> class...

Additional answer: the , operator in tvmet is *not* overloaded in the Matrix<> 
class ! It only is in the CommaInitializer class. By Left-to-right 
associativity the above gets evaluated as

((m = 1), 2), 3   ......

Cheers,

Benoit

Attachment: signature.asc
Description: This is a digitally signed message part.



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