Finds the index of element having maximum absolute value.
INTEGER FUNCTION ISAMAX(N,X,INCX)
INTEGER INCX, N
REAL X(*)
INTEGER FUNCTION IDAMAX(N,X,INCX) INTEGER INCX,N DOUBLE PRECISION X(*)
INTEGER FUNCTION ICAMAX(N,X,INCX) INTEGER INCX,N COMPLEX X(*)
INTEGER FUNCTION IZAMAX(N,X,INCX) INTEGER INCX,N COMPLEX*16 X(*)
The ISAMAX, IDAMAX, ICAMAX, or IZAMAX function returns the index of element having maximum absolute value.
For values of N <= 0, a value of 0 is returned.