Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Finds the index of the vector element whose real part has maximum absolute value.
index = icmax1( n, cx, incx )
index = izmax1( n, cx, incx )
Given a complex vector cx, the i?max1 functions return the index of the first vector element of maximum absolute value. These functions are based on the BLAS functions icamax/izamax, but using the absolute value of components. They are designed for use with clacon/zlacon.
INTEGER. Specifies the number of elements in the vector cx.
COMPLEX for icmax1
DOUBLE COMPLEX for izmax1
Array, size at least (1+(n-1)*abs(incx)).
Contains the input vector.
INTEGER. Specifies the spacing between successive elements of cx.
INTEGER. Index of the vector element of maximum absolute value.