source:
trunk/LMDZ.GENERIC/libf/phystd/scopyi.F
@
3300
Last change on this file since 3300 was 135, checked in by , 14 years ago | |
---|---|
File size: 291 bytes |
Line | |
---|---|
1 | subroutine scopyi(n,sx,incx,sy,incy) |
2 | c |
3 | IMPLICIT NONE |
4 | c |
5 | integer n,incx,incy,ix,iy,i |
6 | integer sx((n-1)*incx+1),sy((n-1)*incy+1) |
7 | c |
8 | iy=1 |
9 | ix=1 |
10 | do 10 i=1,n |
11 | sy(iy)=sx(ix) |
12 | ix=ix+incx |
13 | iy=iy+incy |
14 | 10 continue |
15 | c |
16 | return |
17 | end |
Note: See TracBrowser
for help on using the repository browser.