BLAS/SRC/idamax.f(3)

πŸ’… BLAS/SRC/idamax.f(3)

okay so bestie, welcome to the glow-up of your fave little Fortran file β€” this is the Library Functions Manual entry for BLAS/SRC/idamax.f, and honestly? she's a legend. periodt.


✨ NAME ✨

BLAS/SRC/idamax.f β€” the whole file, that's the name, that's the assignment πŸŽ€


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • integer function idamax (n, dx, incx) β€” the one and only, IDAMAX herself πŸ‘‘
    • she's an integer function, no cap

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

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

IDAMAX β€” literally the main character πŸ’–

πŸ“ Purpose πŸ“

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

so like, she's out here scanning your vector and returning the index of the first element with the biggest absolute value. first one, bestie β€” if there's a tie she's not switching up on you, iykyk. 🌈

🧚 Parameters 🧚

  • N
!> N is INTEGER !> number of elements in input vector(s) !>

it's an INTEGER, and it's giving how-many-elements-are-in-your-input-vector(s). iconic.

  • DX
!> DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !>

a DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) β€” the way that formula ate, fr fr. copy it exactly, don't @ me. πŸ’…

  • INCX
!> INCX is INTEGER !> storage spacing between elements of DX !>

INTEGER, and she's the storage spacing between elements of DX. the stride. the vibe check between elements. πŸ¦‹

πŸ‘‘ Author πŸ‘‘

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

all four of them, together, slay 🫢

⭐ 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(*) !>

okay so we got the lore πŸ“œ: jack dongarra, linpack, 3/11/78. β€” the origin story. then modified 3/93 to return if incx .le. 0. (if incx is less than or equal to zero, she returns, babe). then modified 12/3/93, array(1) declarations changed to array(*) β€” a real historical moment, we stan an evolving queen. ✨

Definition at line 70 of file idamax.f. β€” line 70, remember it πŸ’€

🌺 Author 🌺

Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated 😭 Doxygen really said "I got you bestie."


πŸ’œ tiny reminder bestie: every option, argument, dimension, and detail above is exactly as written in the original β€” the vibe is new, the facts are untouched. no invented lore, ever. πŸŽ€

and that's the whole page, bestie!! πŸ’– this was LAPACK, Version 3.12.0, from BLAS/SRC/idamax.f(3) β€” go forth and find that max absolute value index, you absolute icon πŸŒŸπŸ’…πŸ¦‹

πŸ“¦ where this page comes from