Wed, 22 Apr 2009 13:51:45 -0400, josef.pktd wrote:
[clip]
> change your line to
> b = a.reshape((6,), order=order)
> 
> then the reshaped array is just a view.

This has the effect that the unravelling is done in Fortran order (when 
order='F') rather than C-order, which can be confusing at times.

-- 
Pauli Virtanen

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to