Last change
on this file since 1056 was
2,
checked in by lmdz, 25 years ago
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
369 bytes
|
Rev | Line | |
---|
[2] | 1 | SUBROUTINE multipl(n,x1,x2,y) |
---|
| 2 | IMPLICIT NONE |
---|
| 3 | c======================================================================= |
---|
| 4 | c |
---|
| 5 | c multiplication de deux vecteurs |
---|
| 6 | c |
---|
| 7 | c======================================================================= |
---|
| 8 | c |
---|
| 9 | INTEGER n,i |
---|
| 10 | REAL x1(n),x2(n),y(n) |
---|
| 11 | c |
---|
| 12 | DO 10 i=1,n |
---|
| 13 | y(i)=x1(i)*x2(i) |
---|
| 14 | 10 CONTINUE |
---|
| 15 | c |
---|
| 16 | RETURN |
---|
| 17 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.