[julia-users] Re: Slicing in julia compared to numpy

2014-05-09 Thread gael . mcdon
I don't understand this bit: "Numpy's notation has the advantage to make the most expensive operations harder to write, it also easily reminds us that arrays in numpy are row-major." How does this make the more expensive operation harder to write? Just by writing this (for a a 2D array): for i

[julia-users] Re: Slicing in julia compared to numpy

2014-05-09 Thread gael . mcdon
I don't understand this bit: "Numpy's notation has the advantage to make the most expensive operations harder to write, it also easily reminds us that arrays in numpy are row-major." How does this make the more expensive operation harder to write? Just by writing this (for a a 2D array): for i

[julia-users] Re: Slicing in julia compared to numpy

2014-05-09 Thread Johan Sigfrids
I don't understand this bit: "Numpy's notation has the advantage to make the most expensive operations harder to write, it also easily reminds us that arrays in numpy are row-major." How does this make the more expensive operation harder to write? To me (but I didn't design Julia so what do I k