summaryrefslogtreecommitdiff
path: root/modules/intersci/examples/ex10f.f
blob: a01d8e5281ffd6d8cea7b4cb5d9bee2fba3d85a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
c Copyright (C) ????-2008 - INRIA
c
c This file must be used under the terms of the CeCILL.
c This source file is licensed as described in the file COPYING, which
c you should have received as part of this distribution.  The terms
c are also available at
c http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
       subroutine  fcalc10(ii,m1,n1,db,m2,n2,rea,m3,n3)
       integer ii(*)
       double precision db(*)
       real rea(*)
       do 10 i=1,m1*n1
          ii(i) =i + ii(i)
 10    continue
       do 20 i=1,m2*n2
          db(i) = dble(i) + db(i)
 20    continue
       do 30 i=1,m3*n3
          rea(i) = real(i) + rea(i)
 30    continue
       return
       end