[Numpy-discussion] From Python to Numpy

Marmaduke Woodman mmwoodman at gmail.com
Fri Dec 30 17:36:50 EST 2016


> On 22 Dec 2016, at 17:44, Nicolas P. Rougier <Nicolas.Rougier at 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. 


More information about the NumPy-Discussion mailing list