ZHPCON(3)
๐ NAME
Bestie, this is the manual page for zhpcon.f โ like, the actual source file living at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zhpcon.f. Yes the whole path, no we're not shortening it, it's part of Library Functions Manual energy and we respect the lore. ๐ซถ
โจ SYNOPSIS
Functions/Subroutines
subroutine ZHPCON (uplo, n, ap, ipiv, anorm, rcond, work, info)
ZHPCON
That's the whole vibe. She's a subroutine. She's called ZHPCON. That's it, that's the girl. ๐
๐ 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
!>
!> 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.
!>
!> An estimate is obtained for norm(inv(A)), and the reciprocal of the
!> condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
!>
Okay so real talk: ZHPCON gives you an estimate of the reciprocal of the condition number of a complex Hermitian packed matrix A. She's doing this using the factorization A = U*D*U**H or A = L*D*L**H that was already computed by ZHPTRF โ so like, she's building on somebody else's work, we love efficiency. โจ
The way it works is lowkey iconic: an estimate is obtained for norm(inv(A)), and then the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). Math ate, honestly. ๐งฎ
๐ฆ Parameters
UPLOโ this one isCHARACTER*1and it's giving "which triangle are we in". It specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U': Upper triangular, form isA = U*D*U**H;= 'L': Lower triangular, form isA = L*D*L**H.
NโNisINTEGER. The order of the matrixA. Constraint check:N >= 0. Don't come at her with a negative, she will not be engaging. ๐APโAPisCOMPLEX*16array, dimension(N*(N+1)/2). This holds the block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byZHPTRF, stored as a packed triangular matrix. Packed. Like, tightly. No wasted space. Queen of efficiency. ๐IPIVโIPIVisINTEGERarray, dimension(N). Details of the interchanges and the block structure ofDas determined byZHPTRF. Receipts from the previous routine, basically. ๐งพANORMโANORMisDOUBLE PRECISION. The 1-norm of the original matrixA. The before picture, if you will. ๐ธRCONDโRCONDisDOUBLE PRECISION. 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's the output. She's the moment. She's the main character. ๐WORKโWORKisCOMPLEX*16array, dimension(2*N). Just her little scratchpad, no thoughts needed. ๐INFOโINFOisINTEGER. The vibe check, formally:= 0: successful exit (slay ๐)< 0: ifINFO = -i, the i-th argument had an illegal value (not slay ๐ญ)
๐ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
All the legends, credited, periodt. ๐ซก
Definition at line 117 of file zhpcon.f. Bookmark it, iykyk. ๐
๐ Author
Generated automatically by Doxygen for LAPACK from the source code. Not a human, just a very diligent little robot doing her thing. ๐ค๐
Okay bestie, that's the whole page โ go forth and estimate those condition numbers responsibly. Fr fr. ๐
LAPACK โ Version 3.12.0 โ and the file is zhpcon.f(3), okurrr? ๐
โจ๐ฆ
๐ฆ 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