SRC/cla_hercond_x.f(3)
β¨ SRC/cla_hercond_x.f β¨
okay so this is a page out of the Library Functions Manual and it's all about one lil Fortran function that lives in SRC/cla_hercond_x.f π
buckle up bestie
πΈ NAME πΈ
SRC/cla_hercond_x.f β that's the file, that's the name, no notes π
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
real function cla_hercond_x (uplo, n, a, lda, af, ldaf, ipiv, x, info, work, rwork)βCLA_HERCOND_Xcomputes the infinity norm condition number ofop(A)*diag(x)for Hermitian indefinite matrices. yes that's a whole mouthful and yes it ate π₯
π Function/Subroutine Documentation π
real function cla_hercond_x (character uplo, integer n, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldaf, * ) af, integer ldaf,
integer, dimension( * ) ipiv, complex, dimension( * ) x, integer info,
complex, dimension( * ) work, real, dimension( * ) rwork)
CLA_HERCOND_X computes the infinity norm condition number of op(A)*diag(x) for Hermitian indefinite matrices. literally its whole personality π
π Purpose π
!>!> CLA_HERCOND_X computes the infinity norm condition number of!> op(A) * diag(X) where X is a COMPLEX vector.!>
so yeah β infinity norm condition number of op(A) * diag(X), and X is a COMPLEX vector. that's the vibe check and it passed β¨
π Parameters π
UPLO
!> UPLO is CHARACTER*1!> = 'U': Upper triangle of A is stored;!> = 'L': Lower triangle of A is stored.!>
so 'U' means the upper triangle of A is what's stored, and 'L' means the lower triangle, periodt π«Ά
N
!> N is INTEGER!> The number of linear equations, i.e., the order of the!> matrix A. N >= 0.!>
it's the number of linear equations, aka the order of the matrix A, and it's gotta be N >= 0 β no negative nonsense allowed bestie π€
A
!> A is COMPLEX array, dimension (LDA,N)!> On entry, the N-by-N matrix A.!>
COMPLEX array, dimension (LDA,N). on entry it's the N-by-N matrix A. iconic π
LDA
!> LDA is INTEGER!> The leading dimension of the array A. LDA >= max(1,N).!>
leading dimension of the array A, and it must satisfy LDA >= max(1,N) fr fr
AF
!> AF is COMPLEX array, dimension (LDAF,N)!> The block diagonal matrix D and the multipliers used to!> obtain the factor U or L as computed by CHETRF.!>
COMPLEX array, dimension (LDAF,N). this one's holding the block diagonal matrix D plus the multipliers used to obtain the factor U or L, all as computed by CHETRF β
LDAF
!> LDAF is INTEGER!> The leading dimension of the array AF. LDAF >= max(1,N).!>
leading dimension of the array AF, and it's gotta be LDAF >= max(1,N) π§
IPIV
!> IPIV is INTEGER array, dimension (N)!> Details of the interchanges and the block structure of D!> as determined by CHETRF.!>
INTEGER array, dimension (N) β the details of the interchanges and the block structure of D, as determined by CHETRF π
X
!> X is COMPLEX array, dimension (N)!> The vector X in the formula op(A) * diag(X).!>
COMPLEX array, dimension (N). it's the vector X in the formula op(A) * diag(X), which is literally the whole point of this function, slay πΈ
INFO
!> INFO is INTEGER!> = 0: Successful exit.!> i > 0: The ith argument is invalid.!>
INTEGER status bestie: = 0 means successful exit π, and i > 0 means the *i*th argument is invalid π
WORK
!> WORK is COMPLEX array, dimension (2*N).!> Workspace.!>
COMPLEX array, dimension (2*N). it's workspace, that's the whole job π«Ά
RWORK
!> RWORK is REAL array, dimension (N).!> Workspace.!>
REAL array, dimension (N). also workspace. also just doing its thing π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
look at that stacked author list, main character energy only π
Definition at line 129 of file cla_hercond_x.f. β noted, cited, immortalized β
π Author (again, but the automatic kind) π
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a robot doing its lil thing π€π
and that's the whole page!! no cap, every single flag and param intact π
sign-off time bestie: this beauty comes from LAPACK, Version 3.12.0, and it's filed under SRC/cla_hercond_x.f(3). go forth and compute condition numbers responsibly πβ¨π¦
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms