Re: [eigen] still the solve() API debate

[ Thread Index | Date Index | More Archives ]

Benoit Jacob a écrit :

If that doesn't work, and if we want to keep swap in infix notation,
then I propose this:

matrix.row(i) = Eigen::swap(matrix.row(j));

or if we give up infix notation:

matrix.row(i) = matrix.row(j).swap();


Well, I don't fully understand this thread, so may be I will say something stupid, but I found these "asymmetric" writing of swap pretty unreadable.
Why is this impossible ?
Eigen::swap(matrix.row(i), matrix.row(j));

Robert Bocquier

4 chemin de Malacher
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525

Mail converted by MHonArc 2.6.19+