ZTPCON(3)
π ZTPCON(3) β Library Functions Manual π
okay so bestie, this is the ZTPCON(3) page from the Library Functions Manual, and it's literally all about a Fortran subroutine that estimates condition numbers. No cap, it's giving numerical linear algebra main character energy π₯
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ztpcon.f
That's the file path the original NAME section gives us, periodt π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine ZTPCON (norm, uplo, diag, n, ap, rcond, work, rwork, info)
ZTPCON
π¦ Function/Subroutine Documentation π¦
subroutine ZTPCON (character norm, character uplo, character diag, integer n, complex*16, dimension( * ) ap, double precision rcond, complex*16, dimension( * ) work, double precision, dimension( * ) rwork, integer info)
ZTPCON
π Purpose π
Bestie, here's the vibe: ZTPCON estimates the reciprocal of the condition number of a packed triangular matrix A, in either the 1-norm or the infinity-norm. The norm of A is computed and an estimate is obtained for norm(inv(A)), then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) ).
πΈ Parameters πΈ
NORMβCHARACTER*1. Specifies whether the 1-norm condition number or the infinity-norm condition number is required:= '1'or'O': 1-norm;= 'I': Infinity-norm.
UPLOβCHARACTER*1= 'U': A is upper triangular;= 'L': A is lower triangular.
DIAGβCHARACTER*1= 'N': A is non-unit triangular;= 'U': A is unit triangular.
NβINTEGER. The order of the matrixA.N >= 0.APβCOMPLEX*16 array, dimension (N*(N+1)/2). The upper or lower triangular matrixA, packed columnwise in a linear array. The j-th column ofAis stored in the arrayAPas follows:
if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;
if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
If DIAG = 'U', the diagonal elements of A are not referenced and are assumed to be 1.
RCONDβDOUBLE PRECISION. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).WORKβCOMPLEX*16 array, dimension (2*N)RWORKβDOUBLE PRECISION array, dimension (N)INFOβINTEGER= 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 128 of file ztpcon.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off bestie: LAPACK Version 3.12.0 β’ /home/abui...RC/ztpcon.f(3) β’ date: not printed in the original footer, so we're keeping it honest π«Άπβ¨
π¦ 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