1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
c     icamaxsub.f
c
c     The program is a fortran wrapper for idamax.
c     Witten by Keita Teranishi.  2/22/1998
c
      subroutine idamaxsub(n,x,incx,iamax)
c
      external idamax
      integer  idamax,iamax
      integer n,incx
      double precision x(*)
c
      iamax=idamax(n,x,incx)
      return
      end