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 is A = U*D*U**H;
  • = 'L': Lower triangular, form is A = 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: 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 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