CHECON(3)
CHECON β LAPACK π β¨
Okay so bestie, let me introduce you to CHECON β a whole icon from the LAPACK library. Fr fr, she's out here doing the math so you don't have to. π
β¨ SYNOPSIS β¨
subroutine CHECON (uplo, n, a, lda, ipiv, anorm, rcond, work, info)
π«Ά Functions/Subroutines
subroutine CHECON(uplo,n,a,lda,ipiv,anorm,rcond,work,info) β the one and only, the main character herself.
π Function/Subroutine Documentation π
π¦ Purpose π¦
!> CHECON estimates the reciprocal of the condition number of a complex !> Hermitian matrix A using the factorization A = U*D*UH or !> A = L*D*LH computed by CHETRF. !> !> An estimate is obtained for norm(inv(A)), and the reciprocal of the !> condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
No cap, this is the whole vibe: you give her a matrix that's already been factored by CHETRF, and she tells you how "sensitive" it is. It's giving numerical self-care. πΈ
π Parameters π
UPLOβCHARACTER*1. Tells you whether the factorization details are stored as an upper or lower triangular matrix.= 'U': Upper triangular, form isA = U*D*U**H;= 'L': Lower triangular, form isA = L*D*L**H.
Like, pick your lane bestie. π
NβINTEGER. The order of the matrixA. Condition:N >= 0. Zero is valid, don't come for her. β¨AβCOMPLEX array, dimension (LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorL, exactly as computed byCHETRF. She's not doing the factoring, she's just reading the receipts. π§ΎLDAβINTEGER. The leading dimension of the arrayA. Condition:LDA >= max(1,N). Respect the dimensions or she will not be happy. πIPIVβINTEGER array, dimension (N). The details of the interchanges and the block structure ofD, as determined byCHETRF. Think of it as the lore. πANORMβREAL. The 1-norm of the original matrixA. It's giving OG matrix energy. πRCONDβREAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine. The final boss output. πWORKβCOMPLEX array, dimension (2*N). Workspace. She needs a little room to do her thing. πINFOβINTEGER. The vibe check on the exit:= 0: successful exit, slay π< 0: ifINFO = -i, thei-th argument had an illegal value. Not cute. π©
Warning bestie: IfINFOcomes back negative, one of your arguments is lowkey illegal. The exact value-itells you which argument is the problem. Fix it and try again. π
π Author π
Shoutout to the legends who made this possible:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Icons, every single one. π
Definition at line 123 of file checon.f. Periodt. π
This little beauty was auto-generated by Doxygen for LAPACK from the source code. Version 3.12.0, file checon.f(3). Stay nerdy, bestie. ππ«Άβ¨
π¦ 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