rougier / from-python-to-numpy

An open-access book on numpy vectorization techniques, Nicolas P. Rougier, 2017
http://www.labri.fr/perso/nrougier/from-python-to-numpy
Other
2.05k stars 340 forks source link

Update 03-anatomy.rst #112

Closed cesaryuan closed 11 months ago

cesaryuan commented 1 year ago

default dtype for numpy.arrange is int32 whose itemsize is 4

rougier commented 11 months ago

Thanks for the report. However, 2 means "strides of Z2 is twice the stride of Z1", independently of the storage size.