source:
trunk/LMDZ.GENERIC/libf/bibio/scopy.F
@
1308
Last change on this file since 1308 was 135, checked in by , 14 years ago | |
---|---|
File size: 290 bytes |
Line | |
---|---|
1 | subroutine scopy(n,sx,incx,sy,incy) |
2 | c |
3 | IMPLICIT NONE |
4 | c |
5 | integer n,incx,incy,ix,iy,i |
6 | real 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.