summaryrefslogtreecommitdiff
path: root/numpy/f2py/docs/simple.f
blob: ba468a509cdfaa8b8785b30c863d7d50e8ea1d64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cFile: simple.f
      subroutine foo(a,m,n)
      integer m,n,i,j
      real a(m,n)
cf2py intent(in,out) a
cf2py intent(hide) m,n
      do i=1,m
         do j=1,n
            a(i,j) = a(i,j) + 10*i+j
         enddo
      enddo
      end
cEOF