BLAS/SRC/isamax.f(3)

✨ NAME ✨

okay so bestie, this page is all about BLAS/SRC/isamax.f β€” like, that's the whole vibe of the name section, no cap πŸ’–


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • integer function isamax (n, sx, incx) β€” ISAMAX πŸ‘‘

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

integer function isamax (integer n, real, dimension(*) sx, integer incx)

ISAMAX. that's it. that's the function. iconic behavior honestly πŸ’…

Purpose:

ISAMAX finds the index of the first element having maximum absolute value.

not me being dramatic but the word first is doing SO much heavy lifting here β€” if two elements tie for the biggest absolute value, you get the earlier one, periodt πŸ”₯

Parameters

  • N β€” N is INTEGER. it's the number of elements in the input vector(s), fr fr.
  • SX β€” SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). lowkey a whole formula, but it's just saying how much room she takes up πŸŽ€
  • INCX β€” INCX is INTEGER. it's the storage spacing between elements of SX β€” like, how far apart the squad members are standing from each other 🫢

Author

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

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(*)
the receipts!! πŸ“œ three separate glow-ups on the record: born 3/11/78, then 3/93 gave her the early-return-if-incx .le. 0 behavior, then 12/3/93 swapped the array(1) declarations for array(*). a legend with a revision history πŸ’œ

Definition at line 70 of file isamax.f.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code. (yes, the robots did this one, and honestly? they ate πŸ€–βœ¨)


that's the whole page bestie, and here's the cute lil sign-off: this is Version 3.12.0, dated Tue Nov 28 2023 12:08:41, and it belongs to BLAS/SRC/isamax.f(3). bye babes, go find that max πŸŒˆπŸ’–