SRC/icmax1.f(3)
πΈ SRC/icmax1.f πΈ
okay bestie so this is a man page for SRC/icmax1.f β it's a library functions manual page, and it's basically the whole vibe of "which element of my complex vector is the absolute biggest?" π
lowkey iconic.
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
integer function icmax1 (n, cx, incx)β ICMAX1 finds the index of the first vector element of maximum absolute value. slay.
π§ Function/Subroutine Documentation π§
integer function icmax1 (integer n, complex, dimension(*) cx, integer incx)
ICMAX1 finds the index of the first vector element of maximum absolute value. that's it, that's the whole job, and it ate. β¨
π 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.
!>
so yeah β it's giving ICAMAX energy (shoutout Level 1 BLAS, the blueprint π), but the glow-up is that it uses the genuine absolute value. no cap, that's the whole difference. π¦
π Parameters π
Nβ N isINTEGER. it's literally just the number of elements in the vectorCX. that's the headcount, bestie. π
!> N is INTEGER
!> The number of elements in the vector CX.
!>
CXβ CX isCOMPLEX array, dimension (N). this is the vectorCXitself, and theICMAX1function returns the index of its first element of maximum absolute value. first one wins β we don't do ties here, we do first π₯
!> 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 isINTEGER. it's the spacing between successive values ofCX. and listen:INCX >= 1, periodt. don't come at it with zero or negative, it's not that kind of party. π
!> 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.
look at this collective. the whole squad showed up. π«Ά
π Contributors: π
- Nick Higham for use with
CLACON.
Nick really said "I need this for CLACON" and honestly? we respect it. main character energy. π
β Definition β
Definition at line 80 of file icmax1.f. iykyk. β¨
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated, but honestly? still cute. π
π okay that's the whole page! no detail left behind, every flag and parameter accounted for, vibe check passed with flying colors π
LAPACK β Version 3.12.0 β and that's the SRC/icmax1.f(3) sign-off, bestie! mwah π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms