[Numpy-discussion] Vectorizing array updates

Dan Goodman dg.gmane at thesamovar.net
Wed Apr 29 16:25:53 EDT 2009


> As you can see, Current is different in the two cases. Any ideas how I  
> can recreate the behavior of the iterative process in a more numpy- 
> friendly, vectorized (and hopefully quicker) way? And possibly also  
> about why my intuitions concerning the semantics of the vectorized  
> code are wrong?

I'm also interested to know how to do this, I know it can be done with a 
C/Cython loop, but I'd like to do it just using numpy if possible.

Dan G.




More information about the NumPy-Discussion mailing list