[Numpy-discussion] flatten() without copy - is this possible?

dmitrey openopt at ukr.net
Fri Jun 1 07:35:00 EDT 2007

hi all.
in the numpy for matlab users I read


y = x.flatten(1)


turn array into vector (note that this forces a copy)

Is there any way to do the trick wthout copying?
What are the problems here? Just other way of array elements indexing...

Thx, D.

More information about the NumPy-Discussion mailing list