Jeremy Howard wrote:
> I'd rather see the ';' be required, but the '(0..)' not be required, so you
This is not good! There are a lot of routines where it is very useful to
specify a slice as
@a[0]
that should work regardless how many dimensions @a really has. There are
many instances in PDL routines right now where the equivalent is
something like
$a->slice('(0)');
It is an extremly(!) useful feature. Buddha's syntax suggestions to
generalize this seem nice.
> already talked about, but with ambiguities and implications sorted out).
> Under one of these RFCs @a[0:1] will have a useful meaning, so I don't want
> it to be equivalent to @a[0:1;;].
Then your new meaning of @a[0:1] is not a good idea IMHO.
Christian
- Re: n-dim matrices Karl Glazebrook
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Karl Glazebrook
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Christian Soeller
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Christian Soeller
- Re: n-dim matrices Karl Glazebrook
- Re: n-dim matrices David L. Nicol
- Re: n-dim matrices Jeremy Howard
- Re: n-dim matrices Christian Soeller
- Re: n-dim matrices Karl Glazebrook
- Re: n-dim matrices Jeremy Howard
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Christian Soeller
- Matrix, array, or tensor? (was... Jeremy Howard
- Re: Matrix, array, or tensor? ... Karl Glazebrook
- Re: n-dim matrices Jeremy Howard
- Re: n-dim matrices Christian Soeller
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Jeremy Howard
