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 is INTEGER. it's literally just the number of elements in the vector CX. that's the headcount, bestie. πŸ“
!>          N is INTEGER
!>          The number of elements in the vector CX.
!>
  • CX β€” CX is COMPLEX array, dimension (N). this is the vector CX itself, and the ICMAX1 function 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 is INTEGER. it's the spacing between successive values of CX. 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