Scroll to navigation

IDAMAX(1) BLAS routine IDAMAX(1)

NAME

IDAMAX - IDAMAX find the index of element having max

SYNOPSIS

IDAMAX(N,DX,INCX)

INTEGER INCX,N DOUBLE PRECISION DX(*)

PURPOSE


IDAMAX finds the index of element having max. absolute value.

FURTHER DETAILS


jack dongarra, linpack, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)

November 2008 BLAS routine