File: irow2.f

package info (click to toggle)
scilab 2.2-4
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 31,472 kB
  • ctags: 21,963
  • sloc: fortran: 110,983; ansic: 89,717; makefile: 3,016; sh: 1,892; csh: 150; cpp: 101
file content (14 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
        integer function irow2(i,m)
c%calling sequence
c        integer function irow2(i,m)
c
c%purpose
c      this routine is only to be called from syhsc
c%
        integer i,k,m
        irow2=2*(i-1)*m
        k=(i-4)*(i-3)/2
        if(i.le.2) k=0
        irow2=irow2-k
        return
        end