CHPCON(3)
π¦ CHPCON β chpcon.f(3) π¦
ok so real talk, bestie, this is a page from the Library Functions Manual for /home/abui...RC/chpcon.f(3) and it's literally the docs for one single BLAS/LAPACK girlie named CHPCON. she estimates condition numbers. that's her whole thing. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chpcon.f β yeah that's the whole path, no cap, that's how this manual page names itself π
π SYNOPSIS π
Functions/Subroutines
subroutine CHPCON (uplo, n, ap, ipiv, anorm, rcond, work, info)β CHPCON π
πΈ Function/Subroutine Documentation πΈ
subroutine CHPCON (character uplo, integer n, complex, dimension( * ) ap,
integer, dimension( * ) ipiv, real anorm, real rcond, complex,
dimension( * ) work, integer info)
CHPCON π
π Purpose:
!>
!> CHPCON estimates the reciprocal of the condition number of a complex
!> Hermitian packed matrix A using the factorization A = U*D*U**H or
!> A = L*D*L**H computed by CHPTRF.
!>
!> 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's estimating how close to trouble your matrix is, using the factorization A = U*D*U**H or A = L*D*L**H that CHPTRF already did for you. she estimates norm(inv(A)), then does RCOND = 1 / (ANORM * norm(inv(A))). that's the vibe. that's the whole algorithm. iconic. π
π Parameters
UPLOβUPLO is CHARACTER*1. tells her whether the factorization details are stored as an upper or lower triangular matrix, bestie. options are:= 'U': Upper triangular, form is A = U*D*U**H;= 'L': Lower triangular, form is A = L*D*L**H.
NβN is INTEGER. the order of the matrixA. and like,N >= 0obviously, we don't do negative orders here π«ΆAPβAP is COMPLEX array, dimension (N*(N+1)/2). this is the block diagonal matrixDplus the multipliers used to get the factorUorLas computed byCHPTRF, all stored as a packed triangular matrix. packed! like a little suitcase of math β¨IPIVβIPIV is INTEGER array, dimension (N). the deets on the interchanges and the block structure ofD, as determined byCHPTRF. iykyk πANORMβANORM is REAL. the 1-norm of the original matrixA. that's it, that's the number πRCONDβRCOND is 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. she does the estimating herself, main character energy fr fr πWORKβWORK is COMPLEX array, dimension (2*N). scratch space, no notes πΈINFOβINFO is INTEGER. the receipts:= 0: successful exitπ< 0: if INFO = -i, the i-th argument had an illegal valueπ
π§ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 117 of file chpcon.f. β
π Author π
Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated π
ok bye bestie, go estimate some condition numbers π
LAPACK β Version 3.12.0 β /home/abui...RC/chpcon.f(3) β mwah, that's the source, the version and the date all in one cute little sign-off πβ¨π«Ά
π¦ 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