[Numpy-discussion] Response to PEP suggestions
Fernando Perez
Fernando.Perez at colorado.edu
Thu Feb 17 14:19:23 EST 2005
Robert Kern wrote:
> Why not just do
>
> b = ravel(a)
>
> ?
>
> That should work in both cases just fine.
Because I thouhgt that ravel would make a copy regardless. But I may be
wrong, much of this is very old code, when I was just picking up Numeric. At
the time, I felt it might be best to avoid the unnecessary copies if possible.
Best,
f
More information about the NumPy-Discussion
mailing list