On 10/28/2014 1:42 PM, Stephan Hoyer wrote:
> np.nditer is a reasonable alternative to .flat (and it's documented as such), 
> but it's a rather inelegant, kitchen-sink type function.


I'm not sure what "reasonable" means here,
other than "in principle, possible to use".

In particular, `flat` is much more elegant,
and includes an automatic guarantee that the
iterations will be in C-contiguous style.

Alan

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

Reply via email to