SRC/zhpcon.f(3)
π NAME π
SRC/zhpcon.f β okay bestie, this is the SRC/zhpcon.f(3) page from the Library Functions Manual, and itβs lowkey all about ZHPCON π
β¨
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine zhpcon (uplo, n, ap, ipiv, anorm, rcond, work, info)
ZHPCON
πΈ Function/Subroutine Documentation πΈ
subroutine zhpcon (character uplo, integer n, complex*16, dimension( * ) ap,
integer, dimension( * ) ipiv, double precision anorm, double precision
rcond, complex*16, dimension( * ) work, integer info)
ZHPCON
π Purpose π
So ZHPCON 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 ZHPTRF. Obsessed with a good factorization? Same.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). Periodt π«
π Parameters π
UPLO
UPLO is CHARACTER*1 β it specifies whether the details of the factorization are stored as an upper or lower triangular matrix, bestie.
= 'U': Upper triangular, form isA = U*D*U**H;= 'L': Lower triangular, form isA = L*D*L**H.
N
N is INTEGER β the order of the matrix A. And the rule is N >= 0, no cap π«Ά
AP
AP is COMPLEX*16 array, dimension (N*(N+1)/2) β it holds the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZHPTRF, stored as a packed triangular matrix. Itβs giving very structured main character energy π₯
IPIV
IPIV is INTEGER array, dimension (N) β details of the interchanges and the block structure of D as determined by ZHPTRF. iykyk π
ANORM
ANORM is DOUBLE PRECISION β the 1-norm of the original matrix A. Literally the norm bestie π
RCOND
RCOND is DOUBLE PRECISION β the 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. The math is mathing β¨
WORK
WORK is COMPLEX*16 array, dimension (2*N) β just the workspace, doing its little behind-the-scenes thing π
INFO
INFO is INTEGER β 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.
π Definition at line 117 of file zhpcon.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. Not me, not you β Doxygen ate that one π
okay thatβs the whole page, bestie β footer tea: LAPACK Version 3.12.0, page SRC/zhpcon.f(3) π¦πβ¨
π¦ 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