ICMAX1(3)

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

πŸ¦‹ ICMAX1(3) β€” the girlies' guide to finding your biggest vibe (a.k.a. the element with the max absolute value)

okay so real talk: this whole situation lives in the Library Functions Manual, bestie, and it's a Fortran situation, so buckle up πŸŽ€

The file in question is:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/icmax1.f

✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/icmax1.f β€” that's the whole name, no cap, that's literally it πŸ’…


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • integer function ICMAX1 (n, cx, incx) β€” ICMAX1 finds the index of the first vector element of maximum absolute value.

πŸ’– 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. main character energy fr fr πŸ‘‘

🧚 Purpose

okay so what does she actually do:

ICMAX1 finds the index of the first vector element of maximum absolute value. Yes. That's the whole job. She's very focused.

Based on ICAMAX from Level 1 BLAS β€” so she's got BLAS heritage, iconic lineage.

The change is to use the 'genuine' absolute value. So like, not the fake one. The real one. The 'genuine' one, in quotes, exactly like that 😌

πŸ“ Parameters

N

N is INTEGER

The number of elements in the vector CX. That's how many besties are in the group chat, basically.

CX

CX is COMPLEX array, dimension (N)

The vector CX. The ICMAX1 function returns the index of its first element of maximum absolute value. Note first β€” if there's a tie, she's not scrolling any further, she picks the first one and moves on πŸ’€

INCX

INCX is INTEGER

The spacing between successive values of CX. Constraint time: INCX >= 1. Respect the constraint or don't come to the party πŸ™ˆ

πŸ‘‘ Author

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

🫢 Contributors:

Nick Higham β€” for use with CLACON. Shoutout to Nick, we love a collaborator.

⭐ Definition

Definition at line 80 of file icmax1.f. She's on line 80, go look, she's there.


🌈 Author

Generated automatically by Doxygen for LAPACK from the source code. So nobody wrote this page, a robot did it, and honestly the robot ate πŸ”₯


heads up bestie: all the params above are pulled straight from the source comments, so if you're passing INCX less than 1, that's on you, not on me πŸ’€

and that's the page!! πŸŽ€ this was LAPACK, Version 3.12.0, and the file was /home/abui...RC/icmax1.f(3) β€” mwah, go find your max abs value queen, ily, bye πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from