Re: [eigen] array slicing/range

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


Seriously,

why do you want to hack the fortran syntax into eigen? What's the upside?

On Fri, Feb 5, 2010 at 4:23 PM, Jinglei Hu <jingleihu@xxxxxxxxx> wrote:
> Hi guys,
>
> I knew from the Eigen developer that one can use array.segment(i, j) to get
> slice of an array. I'm wondering if it's possible to use array(i:j) to get
> slice just like Fortran.
>
> Cheers,
> Jinglei
>
>
>



-- 
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay



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