[SciPy-user] can this be vectorized?

Ranjit Chacko rjchacko@gmail....
Tue Jun 2 15:05:40 CDT 2009

I have a square array A and I want to produce a second square array B of the
same dimension where each element of B is the sum of a square neighborhood
of each element of A. Is there a way to do this without loops in numpy, or
do I have to use for loops?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20090602/18eee5a7/attachment.html 

More information about the SciPy-user mailing list