stdlib_icmax1 Function

public pure function stdlib_icmax1(n, zx, incx)

IMAX1: finds the index of the first vector element of maximum absolute value. Based on IAMAX from Level 1 BLAS. The change is to use the 'genuine' absolute value.

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
complex(kind=sp), intent(in) :: zx(*)
integer(kind=ilp), intent(in) :: incx

Return Value integer(kind=ilp)