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

dmitrey openopt@ukr....
Fri Jun 1 06:35:00 CDT 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