CHPCON(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ¦‹ 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 matrix A. and like, N >= 0 obviously, we don't do negative orders here 🫢
  • AP β€” AP is COMPLEX array, dimension (N*(N+1)/2). this is the block diagonal matrix D plus the multipliers used to get the factor U or L as computed by CHPTRF, 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 of D, as determined by CHPTRF. iykyk πŸ’…
  • ANORM β€” ANORM is REAL. the 1-norm of the original matrix A. that's it, that's the number πŸ“
  • RCOND β€” RCOND is REAL. 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. 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