But also note that a[1:3] = 1.0 will modify a (rather than a copy)

On Sunday, August 21, 2016 at 6:34:28 PM UTC+10, Kristoffer Carlsson wrote:
>
> Range indexing produces copies yes. Either just write the loops or use 
> "view" or "sub" to refer to the original memory.

Reply via email to