Re: [eigen] Eigen "views"

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


On 16.08.2011 15:07, Christoph Hertzberg wrote:
On 16.08.2011 08:48, Gael Guennebaud wrote:
[...]

m2 = m1(indices1,indices2);
m2 = m1(Eigen::All,indices2);
m2 = m1(indices1,Eigen::All);

Yes, I think this looks as close as one can get to Matlab-syntax (not
that this is a requirement, but it's definitely not a bad thing).

You could even make m1(i, indices) return a row-vector etc ...


Christoph



--
----------------------------------------------
Dipl.-Inf. Christoph Hertzberg
Cartesium 0.051
Universität Bremen
Enrique-Schmidt-Straße 5
28359 Bremen

Tel: (+49) 421-218-64252
----------------------------------------------



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