source: trunk/LMDZ.GENERIC/libf/misc/sdot.F @ 1579

Last change on this file since 1579 was 135, checked in by aslmd, 14 years ago

CHANGEMENT ARBORESCENCE ETAPE 2 -- NON COMPLET

File size: 369 bytes
Line 
1      FUNCTION sdot (n, x,incx, y,incy)
2      IMPLICIT NONE
3c
4      integer n, incx, incy
5      real sdot
6      real x((n-1)*incx+1), y((n-1)*incy+1)
7c
8      integer i, ix, iy
9c
10      sdot = 0.0
11      ix = 1
12      iy = 1
13c
14      do 10 i = 1, n
15         sdot = sdot + x(ix) * y(iy)
16         ix = ix + incx
17         iy = iy + incy
18   10 continue
19c
20      return
21      end
Note: See TracBrowser for help on using the repository browser.