Re: [eigen] On a flexible API for submatrices, slicing, indexing, masking, etc.

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


4: Differentiate between a forward aseq and backward aseq, i.e., 
​​
A(seq(0, n-1))
gives A[0, ..., n-1], and  A(rseq(n-1, 0)) gives A[n-1, ... 0]

Sorry ​I really meant​ 
A(seq(0, n-1))
 gives A[0, ..., n-1], and  A(rseq(0, n-1)) gives A[n-1, ... 0].
Also this does not solve the question of needing last in a seq _expression_, though it solves the conflict between negative stride and half interval.



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