CGTCON(3)
π CGTCON(3) π
okay so bestie, this is the cgtcon.f(3) page from the Library Functions Manual β header path says /home/abui...RC/cgtcon.f(3) and we are lowkey about to get into complex tridiagonal condition-number math. π No cap.
πΈ NAME πΈ
cgtcon.f(3) β the source file this page points at is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgtcon.f.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
Here's the synopsis call, line break and all:
subroutine CGTCON (norm, n, dl, d, du, du2, ipiv, anorm, rcond, work,
info)
That's the CGTCON subroutine, bestie. π«Ά
π« Function/Subroutine Documentation π«
Full signature with all the types and dimensions, copied exactly:
subroutine CGTCON (character norm, integer n, complex, dimension( * ) dl,
complex, dimension( * ) d, complex, dimension( * ) du, complex,
dimension( * ) du2, integer, dimension( * ) ipiv, real anorm, real
rcond, complex, dimension( * ) work, integer info)
The routine is CGTCON. β¨
π― Purpose π―
CGTCON estimates the reciprocal of the condition number of a complex tridiagonal matrix A using the LU factorization as computed by CGTTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as:
RCOND = 1 / (ANORM * norm(inv(A)))
It's giving condition-number detective energy, and honestly? Obsessed. π
π 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.
NβINTEGER. The order of the matrixA.N >= 0.DLβCOMPLEX array, dimension (N-1). The(n-1)multipliers that define the matrixLfrom the LU factorization ofAas computed byCGTTRF.DβCOMPLEX array, dimension (N). Thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA.DUβCOMPLEX array, dimension (N-1). The(n-1)elements of the first superdiagonal ofU.DU2βCOMPLEX array, dimension (N-2). The(n-2)elements of the second superdiagonal ofU.IPIVβINTEGER array, dimension (N). The pivot indices; for1 <= i <= n, rowiof the matrix was interchanged with rowIPIV(i).IPIV(i)will always be eitheriori+1;IPIV(i) = iindicates a row interchange was not required.ANORMβREAL. IfNORM = '1' or 'O', the 1-norm of the original matrixA. IfNORM = 'I', the infinity-norm of the original matrixA.RCONDβREAL. 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.WORKβCOMPLEX array, dimension (2*N).INFOβINTEGER.= 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 139 of file cgtcon.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
kisses bestie π this footer is serving LAPACK Version 3.12.0 with /home/abui...RC/cgtcon.f(3) β date? not on this footer, but the source/version energy is fully there. That's a wrap, periodt. π
β¨
π¦ 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