/home/abui...con_rook.f(3)
π CHECON_ROOK β the LAPACK girlie's guide to condition numbers π
okay so bestie, this one lives in the LAPACK library manual, and the file is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/checon_rook.f
no cap, that's the whole path. and it's checon_rook.f(3) in the manual, section 3, bestie. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CHECON_ROOK (uplo, n, a, lda, ipiv, anorm, rcond, work, info)
CHECON_ROOK estimates the reciprocal of the condition number for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges). π
π¦ Function/Subroutine Documentation π¦
subroutine CHECON_ROOK (character uplo, integer n, complex, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real anorm, real rcond, complex, dimension( * ) work, integer info)
CHECON_ROOK estimates the reciprocal of the condition number for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges). so iconic honestly.
Purpose:
CHECON_ROOK 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_ROOK. An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
bestie it's giving "how trustworthy is my matrix" energy. it takes your CHETRF_ROOK factorization and tells you how close to singular you are, via the reciprocal condition number. lowkey crucial. π₯
πΈ Parameters πΈ
UPLOβUPLOisCHARACTER*1, and it specifies whether the details of the factorization are stored as an upper or lower triangular matrix. the tea:= 'U': Upper triangular, form isA = U*D*U**H;= 'L': Lower triangular, form isA = L*D*L**H.
NβNisINTEGER. The order of the matrix A.N >= 0. periodt.AβAisCOMPLEXarray, dimension(LDA,N). It's the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byCHETRF_ROOK. her main character moment honestly πLDAβLDAisINTEGER. The leading dimension of the array A.LDA >= max(1,N). don't skimp on her, she needs the space.IPIVβIPIVisINTEGERarray, dimension(N). Details of the interchanges and the block structure of D as determined byCHETRF_ROOK. the receipts, basically πANORMβANORMisREAL. The 1-norm of the original matrix A. ngl she's just the original vibe before any factorization happened.RCONDβRCONDisREAL. The reciprocal of the condition number of the matrix A, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine. this is the whole point of the function, she's the star βWORKβWORKisCOMPLEXarray, dimension(2*N). that's it, that's the option. two Ns worth of scratch space, no drama.INFOβINFOisINTEGER, and here's the vibe check:= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π§ Contributors: π§
December 2016, Igor Kozachenko, Computer Science Division, University of California, Berkeley September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
π Definition at line 137 of file checon_rook.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. she wrote herself, fr fr. π€β¨
and that's the whole page bestie π«Ά β filed under LAPACK, Version 3.12.0, dated /home/abui...con_rook.f(3), brought to you by the LAPACK girlies and Doxygen doing its little autogen thing. 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