/home/abui...C/idamax.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

ok so bestie, this page is all about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/idamax.f β€” that's the actual file, and like, it's the real one that lives in the BLAS/SRC folder of the LAPACK 3.12.0 source tree. this whole page is from the Library Functions Manual, and manageable header says it's /home/abui...C/idamax.f(3). slay. πŸ’–


✨ SYNOPSIS ✨

🌸 Functions/Subroutines 🌸

  • integer function IDAMAX (n, dx, incx) β€” literally IDAMAX, that's it, that's the whole thing πŸŽ€

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

integer function IDAMAX (integer n, double precision, dimension(*) dx,
    integer incx)

ok so this is IDAMAX again (the docs just love repeating themselves, iykyk) πŸ‘‘

🎯 Purpose:

!>
!>    IDAMAX finds the index of the first element having maximum absolute value.
!>

fr fr, that's the whole job: it finds the index of the first element that has the maximum absolute value. bestie said "i want numbers, not just the biggest one" and honestly, iconic. πŸ”₯

πŸ’œ Parameters

  • N β€” !> N is INTEGER, the number of elements in the input vector(s). like, how many things are we even looking at 🫢
  • DX β€” !> DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). that dimension formula is doing the absolute most but it's correct, don't @ me πŸ’€
  • INCX β€” !> INCX is INTEGER, the storage spacing between elements of DX. so like, do you want every element or every third one, your call ✨

πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

four whole institutions, they really said "it takes a village" 🌈

🧚 Further Details:

!>
!>     jack dongarra, linpack, 3/11/78.
!>     modified 3/93 to return if incx .le. 0.
!>     modified 12/3/93, array(1) declarations changed to array(*)
!>

ok so this is like. the lore. πŸ‘‘

  • jack dongarra, linpack, 3/11/78. β€” the original era, nickname and all, we love a legend
  • modified 3/93 to return if incx .le. 0. β€” early-90s glow-up: now it bails out when incx is .le. 0
  • modified 12/3/93, array(1) declarations changed to array(*) β€” december '93 upgrade, array(1) got switched to array(*)

⭐ Definition at line 70 of file idamax.f.

so if you wanna read the actual source, line 70, right there. go get it πŸŽ€


🌸 Author 🌸

Generated automatically by Doxygen for LAPACK from the source code. not a human, just a little robot doing its thing πŸ€–πŸ’–


ok that's the page!! stay safe out there bestie, and remember: first max absolute value wins, always 🫢

β€” LAPACK, Version 3.12.0. mwah, that's the tea πŸ’…βœ¨

πŸ“¦ where this page comes from