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

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

🌸 NAME 🌸

so this page is literally about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/izamax.f β€” that's the file, bestie, that's the whole name, it's giving full-path realness ✨ (and yes, it's izamax.f(3), from the Library Functions Manual, in case the vibe check needed paperwork πŸ’…)


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the family tree of what lives in this file β€” the Functions/Subroutines situation:

integer function IZAMAX (n, zx, incx)
    IZAMAX

that's it, that's the icon πŸ‘‘


πŸŽ€ Function/Subroutine Documentation πŸŽ€

⭐ the full signature, no cap ⭐

integer function IZAMAX (integer n, complex*16, dimension(*) zx, integer incx)

IZAMAX

she's serving lowercase integer function, she's serving complex*16, she's serving dimension(*) β€” main character energy fr fr 🫢

πŸ’– Purpose πŸ’–

!> !> IZAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)| !>

so like β€” she goes through your complex vector and finds the index of the first element whose |Re(.)| + |Im(.)| is the biggest. the first one, bestie. ties go to whoever showed up first, no queue-jumping 🧚

🌈 Parameters 🌈

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

lowkey just how many things are in your vector(s). that's the count πŸ’«

  • ZX
!> ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !>

the array itself, COMPLEX*16, and the dimension is exactly ( 1 + ( N - 1 )*abs( INCX ) ) β€” memorize it, don't freestyle it πŸ™ˆ

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

the stride, the gap between the elements you're actually touching β€” the storage spacing, iykyk ✨

πŸ‘‘ Author πŸ‘‘

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

the whole squad credited, we love to see it 🫢

πŸ’€ Further Details: πŸ’€

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

the lore is real: jack dongarra, 1/15/85. β€” then modified 3/93 to return if incx .le. 0. β€” then modified 12/3/93, array(1) declarations changed to array(*). a whole historical timeline in three lines, honestly iconic 🌸

Definition at line 70 of file izamax.f.

πŸ“ Author πŸ“

Generated automatically by Doxygen for LAPACK from the source code. (yes, a robot wrote the doc page. she's doing her best πŸ€–πŸ’…)


ngl the one thing to remember: IZAMAX = first index with max |Re(.)| + |Im(.)|, and incx .le. 0 makes it return. that's the whole tea β˜•

LAPACK, Version 3.12.0 β€” and the page tag is /home/abui...C/izamax.f(3), mwah, bye bestie πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from