res = np.fromfunction(make_res, (nx, ny))
File C:\Python26\lib\site-packages\numpy\core\numeric.py, line 1538, in
fromfunction
args = indices(shape, dtype=dtype)
File C:\Python26\lib\site-packages\numpy\core\numeric.py, line 1480, in
indices
tmp.shape = (1,)*i + (dim,)+(1,)*(N-i-1)
Thanks, that was it.
DG
On Tue, Jul 27, 2010 at 3:02 PM, Robert Kern robert.k...@gmail.com wrote:
On Tue, Jul 27, 2010 at 16:59, David Goldsmith d.l.goldsm...@gmail.com
wrote:
res = np.fromfunction(make_res, (nx, ny))
File C:\Python26\lib\site-packages\numpy\core\numeric.py, line 1538,