Am 14.09.2021 um 09:10 schrieb atecon:
Am 14.09.2021 08:41 schrieb Riccardo (Jack) Lucchetti:
> <matlab>
> b = a(3:end-1)
> </matlab>
>
> Question #1: is this desirable? (My answer: yes) Question #2: is this
> doable? (I guess it is) Question #3: is this worth implementing for
> 2021d, which is going to be out soon? (maybe not).
Hi,
I also think that this is desirable: I so often thought that this may be
useful in the contexts of a matrix and of an array (even series?).
Right; let me just remind myself and others that the Python-esque syntax
of using negative numbers like -1 wouldn't work in gretl/hansl, since
that already means to drop the associatied row/col, which is also a nice
feature. As in:
? print I(3)[-1,]
0 1 0
0 0 1
cheers
sven