opIndex() may hide opSlice()

XavierAP via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 10 13:17:08 PST 2017


On Friday, 10 March 2017 at 20:36:35 UTC, Jonathan M Davis wrote:
>
> problem here is that an operation like arr[x, y..z] doesn't 
> even make sense to me. I have no idea what that does.

https://www.mathworks.com/help/matlab/math/matrix-indexing.html#f1-85544

You can stop reading as soon as it starts talking about "linear 
indexing". However if you're also curious what that means: 
https://www.mathworks.com/help/matlab/math/matrix-indexing.html#f1-85511


More information about the Digitalmars-d mailing list