[Numpy-discussion] missing array type
ndarray at mac.com
Tue Feb 28 09:38:05 EST 2006
Travis, I've noticed that you changed the code to allow x.strides = 0
<http://projects.scipy.org/scipy/numpy/changeset/2178>, but it does
not look like your changes alows creation of memory-saving zero stride
>>> b = array()
>>> ndarray((5,), strides=(0,), buffer=b)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: buffer is too small for requested array
I would think memory-saving is the only justification for allowing
What use does your change enable?
More information about the NumPy-Discussion