SRC/zptcon.f(3)
๐ SRC/zptcon.f(3) ๐
Okay bestie, welcome to the Library Functions Manual entry for SRC/zptcon.f. This is the whole page, and weโre keeping every little detail โ no cap. ๐
๐ธ NAME ๐ธ
SRC/zptcon.f
โจ SYNOPSIS โจ
๐ง Functions/Subroutines
subroutine zptcon (n, d, e, anorm, rcond, rwork, info)
ZPTCON
๐ฅ Function/Subroutine Documentation ๐ฅ
subroutine zptcon (integer n, double precision, dimension( * ) d,
complex*16, dimension( * ) e, double precision anorm, double precision
rcond, double precision, dimension( * ) rwork, integer info)
ZPTCON
This one is literally called ZPTCON, and sheโs here to do condition-number math on a complex Hermitian positive definite tridiagonal matrix. Iconic behavior, honestly. ๐
๐ Purpose ๐
ZPTCON computes the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite tridiagonal matrix using the factorization:
A = L*D*L**H
or:
A = U**H*D*U
Both of those are computed by ZPTTRF. ๐
Norm(inv(A)) is computed by a direct method, and the reciprocal of the condition number is computed as:
RCOND = 1 / (ANORM * norm(inv(A))).
๐ Parameters ๐
NโN is INTEGER. The order of the matrixA.N >= 0. Slay. ๐ฆDโD is DOUBLE PRECISION array, dimension (N). Thendiagonal elements of the diagonal matrixDfrom the factorization ofA, as computed byZPTTRF.EโE is COMPLEX*16 array, dimension (N-1). The(n-1)off-diagonal elements of the unit bidiagonal factorUorLfrom the factorization ofA, as computed byZPTTRF.ANORMโANORM is DOUBLE PRECISION. The1-normof the original matrixA.RCONDโRCOND is DOUBLE PRECISION. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis the1-normofinv(A)computed in this routine. Math girlie pop off. ๐งฎโจRWORKโRWORK is DOUBLE PRECISION array, dimension (N). Thatโs the whole description, bestie โ no extra lore.INFOโINFO is INTEGER.= 0: successful exit. We love a happy ending. ๐ซถ< 0: ifINFO = -i, thei-th argument had an illegal value. Rude, but at least it tells you which one. ๐ญ
๐ Author ๐
Shoutout to the whole author squad:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ฆ Further Details ๐ฆ
The method used is described in Nicholas J. Higham, , SIAM J. Sci. Stat. Comput., Vol. 7, No. 1, January 1986.
๐ Definition at line 118 of file zptcon.f. ๐
Definition at line 118 of file zptcon.f.
๐ Author ๐
And the auto-generated author credit says:
Generated automatically by Doxygen for LAPACK from the source code.
๐ Thatโs the whole page, bestie! ๐ Signing off from the Library Functions Manual: LAPACK, Version 3.12.0, for SRC/zptcon.f(3). The footer doesnโt give a date, so Iโm not inventing one โ periodt. ๐ซถ๐
๐ฆ 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