On Mon, Oct 17, 2011 at 12:45 PM, eat <e.antero.ta...@gmail.com> wrote: > > Just wondering what are the main benefits, of your approach, comparing to > simple:
As I hinted, my goal was not to construct a "practical" example, but rather, to demonstrate how to use the neighborhood iterator in Cython. Roll and mod are quite nice. :) Now imagine working with higher dimensional arrays with more exotic neighborhoods (like the letter X). _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion