Numpy Cookbook. Examples from Ivan Idris Numpy Cookbook