On 4/23/07, Gael Varoquaux <[EMAIL PROTECTED]> wrote:
Hi, I thought I remembered there was a way to reshape in-place an array, but neither google, nor greping my mailbox brings anything out. Am I wrong, or is there indeed a way to reshape in-place an array ?
Just set the shape of the array: somearray.shape = newshape Should do the trick regards, -tim Cheers,
Gaƫl _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
-- //=][=\\ [EMAIL PROTECTED]
_______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
