23 SUBROUTINE indexxd(n,nd,arr,indx)
30 INTEGER n,indx(nd),M,NSTACK
32 parameter(m=7,nstack=50)
33 INTEGER i,indxt,ir,itemp,j,jstack,k,l,istack(nstack)
46 if(arr(indx(i)).le.a)
goto 2
61 if(arr(indx(l+1)).gt.arr(indx(ir)))
then 66 if(arr(indx(l)).gt.arr(indx(ir)))
then 71 if(arr(indx(l+1)).gt.arr(indx(l)))
then 82 if(arr(indx(i)).lt.a)
goto 3
85 if(arr(indx(j)).gt.a)
goto 4
94 if(jstack.gt.nstack)pause
'NSTACK too small in indexx' subroutine indexxd(n, nd, arr, indx)
Subroutine to perform ?? indexing on floating point data (double precision)