Last change
on this file was
57,
checked in by aslmd, 14 years ago
|
mineur LMD_MM_MARS: ajout du GCM ancienne physique, systeme maintenant complet sur SVN (ne manque que la base de donnees d'etats initiaux)
|
File size:
369 bytes
|
Line | |
---|
1 | FUNCTION sdot (n, x,incx, y,incy) |
---|
2 | IMPLICIT NONE |
---|
3 | c |
---|
4 | integer n, incx, incy |
---|
5 | real sdot |
---|
6 | real x((n-1)*incx+1), y((n-1)*incy+1) |
---|
7 | c |
---|
8 | integer i, ix, iy |
---|
9 | c |
---|
10 | sdot = 0.0 |
---|
11 | ix = 1 |
---|
12 | iy = 1 |
---|
13 | c |
---|
14 | do 10 i = 1, n |
---|
15 | sdot = sdot + x(ix) * y(iy) |
---|
16 | ix = ix + incx |
---|
17 | iy = iy + incy |
---|
18 | 10 continue |
---|
19 | c |
---|
20 | return |
---|
21 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.