> On 22 Dec 2016, at 17:44, Nicolas P. Rougier <nicolas.roug...@inria.fr> wrote: > > > Dear all, > > I've just put online a (kind of) book on Numpy and more specifically about > vectorization methods. It's not yet finished, has not been reviewed and it's > a bit rough around the edges. But I think there are some material that can be > interesting. I'm specifically happy with the boids example that show a nice > combination of numpy and matplotlib strengths. > > Book is online at: http://www.labri.fr/perso/nrougier/from-python-to-numpy/ > Sources are available at: https://github.com/rougier/from-python-to-numpy > > > Comments/questions/fixes/ideas are of course welcome.
I’ve seen vectorisation taken to the extreme, with negative consequences in terms of both speed and readability, in both Python and MATLAB codebases, so I would suggest some discussion / wisdom about when not to vectorise. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion