On Thursday, July 21, 2016 at 11:35:56 AM UTC-4, Chris Rackauckas wrote:
>
> I don't think you can do
>
> x[:] =x .+deltax
>
> as fancy syntax here since the x is part of the statement though (you can 
> check).
>

No, that will allocate a new array to store x .+ deltax, and then store 
that new array in-place in x.

(In 0.6, the plan is for "x .= x .+ deltax" or "x .+= deltax" to be 
entirely in-place, but that is still work in progress.)

Reply via email to