logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

imax1 - imax1: argmax_i | x_i | (in LAPACK)

Author

Generated automatically by Doxygen for LAPACK from the source code. Version 3.12.0 Thu Aug 7 2025 17:26:25 imax1(3)

Detailed Description

Function Documentation

integerfunctionicmax1(integern,complex,dimension(*)cx,integerincx)ICMAX1 finds the index of the first vector element of maximum absolute value. Purpose: ICMAX1 finds the index of the first vector element of maximum absolute value. Based on ICAMAX from Level 1 BLAS. The change is to use the 'genuine' absolute value. ParametersN N is INTEGER The number of elements in the vector CX. CX CX is COMPLEX array, dimension (N) The vector CX. The ICMAX1 function returns the index of its first element of maximum absolute value. INCX INCX is INTEGER The spacing between successive values of CX. INCX >= 1. Author Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Contributors: Nick Higham for use with CLACON. integerfunctionizmax1(integern,complex*16,dimension(*)zx,integerincx)IZMAX1 finds the index of the first vector element of maximum absolute value. Purpose: IZMAX1 finds the index of the first vector element of maximum absolute value. Based on IZAMAX from Level 1 BLAS. The change is to use the 'genuine' absolute value. ParametersN N is INTEGER The number of elements in the vector ZX. ZX ZX is COMPLEX*16 array, dimension (N) The vector ZX. The IZMAX1 function returns the index of its first element of maximum absolute value. INCX INCX is INTEGER The spacing between successive values of ZX. INCX >= 1. Author Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Contributors: Nick Higham for use with ZLACON.

Name

imax1 - imax1: argmax_i | x_i | (in LAPACK)

Synopsis

Functions integer function icmax1 (n, cx, incx) ICMAX1 finds the index of the first vector element of maximum absolute value. integer function izmax1 (n, zx, incx) IZMAX1 finds the index of the first vector element of maximum absolute value.

See Also