1 integer function isamax
(n
,sx
,incx
)
3 c finds the index of element having max. absolute value.
4 c jack dongarra, linpack, 3/11/78.
5 c modified 3/93 to return if incx .le. 0.
6 c modified 12/3/93, array(1) declarations changed to array(*)
12 if( n
.lt
.1 .or
. incx
.le
.0 ) return
17 c code for increment not equal to 1
23 if(abs
(sx
(ix
)).le
.smax
) go to 5
30 c code for increment equal to 1
34 if(abs
(sx
(i
)).le
.smax
) go to 30