ZPOCON(3)
π ZPOCON (3) β the condition-number girlie of the LAPACK library functions manual β¨
okay so, bestie, you found her π«Ά this is a page out of the Library Functions Manual β specifically the zpocon.f(3) situation β and she is here to tell you how sketchy (or not) your Hermitian positive definite matrix is. no cap, this one's a glow-up of a routine.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zpocon.f
like, that's literally her whole address. that's the file. she lives there. π
β¨ SYNOPSIS β¨
Functions/Subroutines π
subroutine ZPOCON (uplo, n, a, lda, anorm, rcond, work, rwork, info)
ZPOCON
(yes, the subroutine is named ZPOCON. we been knew. π)
π¦ Function/Subroutine Documentation π¦
subroutine ZPOCON (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, double precision anorm, double precision rcond, complex*16, dimension( * ) work, double precision, dimension( * ) rwork, integer info)
ZPOCON
π Purpose π
ZPOCON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPOTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
so basically she takes your Cholesky factorization (the one ZPOTRF already did for you, mwah) and she's like "how close to singular are we tho π" and hands you back RCOND. iconic behavior, truly. the closer to 1, the more your matrix is thriving; the closer to 0, the more she's giving danger. β
π Parameters π
UPLOβCHARACTER*1
UPLOisCHARACTER*1= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
so like, which triangle are we working with, bestie? pick one. π
NβINTEGER
NisINTEGERThe order of the matrix A. N >= 0.
how big is she. the order. N >= 0, no zero-negativity slander allowed. π
AβCOMPLEX*16array, dimension(LDA,N)
AisCOMPLEX*16array, dimension (LDA,N) The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by ZPOTRF.
this is the actual factor, the one ZPOTRF already produced. don't come in here with a raw matrix and expect her to understand the assignment. π
LDAβINTEGER
LDAisINTEGERThe leading dimension of the array A. LDA >= max(1,N).
the leading dimension of the array A. LDA >= max(1,N). periodt.
ANORMβDOUBLE PRECISION
ANORMisDOUBLE PRECISIONThe 1-norm (or infinity-norm) of the Hermitian matrix A.
the 1-norm (or infinity-norm) of the Hermitian matrix A. yes, either one, she's flexible like that. π
RCONDβDOUBLE PRECISION
RCONDisDOUBLE PRECISIONThe reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
this is the moment. the main character. she's the output, she's the whole point, she's 1/(ANORM * AINVNM) where AINVNM is an estimate of the 1-norm of inv(A) computed right here in this routine. π
WORKβCOMPLEX*16array, dimension(2*N)
WORKisCOMPLEX*16array, dimension (2*N)
scratch space, 2*N of it. she needs room to think. π§
RWORKβDOUBLE PRECISIONarray, dimension(N)
RWORKisDOUBLE PRECISIONarray, dimension (N)
more scratch space, this time N and double precision flavored. π
INFOβINTEGER
INFOisINTEGER= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
the vibe check at the end. 0 means we slayed. negative means someone passed an illegal value and the i-th argument is getting called out by name. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad really said "we made this" and honestly? deserved. π«Ά
Definition at line 119 of file zpocon.f.
go look, she's right there. line 119. iykyk. β¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
(not a human, a whole robot, and yet she ate. π₯)
LAPACK β Version 3.12.0 πβ and that's the whole page bestie, signed off from /home/abui...RC/zpocon.f(3) β go forth and check those condition numbers, mwah ππ
π¦ 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