ICMAX1(3)
π¦ 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 passingINCXless than1, 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms