Current File : //proc/self/root/proc/self/root/usr/share/doc/numpy-1.7.1/docs-f2py/pytest.py
#File: pytest.py
import Numeric
def foo(a):
a = Numeric.array(a)
m,n = a.shape
for i in range(m):
for j in range(n):
a[i,j] = a[i,j] + 10*(i+1) + (j+1)
return a
#eof