SRC/zgtcon.f(3)
π SRC/zgtcon.f(3) π
okay so bestie, welcome to the Library Functions Manual entry for SRC/zgtcon.f β and no cap, this is the ZGTCON glow-up page. Itβs a LAPACK routine, itβs giving complex tridiagonal-matrix condition-number realness, and weβre gonna read it together. π«Ά
πΈ NAME πΈ
SRC/zgtcon.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zgtcon (norm, n, dl, d, du, du2, ipiv, anorm, rcond, work,
info)
ZGTCONβ thatβs the subroutine name, and yes itβs literally the main character of this page. π
π¦ Function/Subroutine Documentation π¦
subroutine zgtcon (...) β ZGTCON
subroutine zgtcon (character norm, integer n, complex*16, dimension( * ) dl,
complex*16, dimension( * ) d, complex*16, dimension( * ) du, complex*16,
dimension( * ) du2, integer, dimension( * ) ipiv, double precision
anorm, double precision rcond, complex*16, dimension( * ) work, integer
info)
ZGTCON β okay bestie, hereβs the whole signature, every argument in its exact little spot. π
Purpose:
ZGTCONestimates the reciprocal of the condition number of a complex tridiagonal matrix A using the LU factorization as computed byZGTTRF. An estimate is obtained fornorm(inv(A)), and the reciprocal of the condition number is computed asRCOND = 1 / (ANORM * norm(inv(A))).
Parameters
NORMisCHARACTER*1. Specifies whether the 1-norm condition number or the infinity-norm condition number is required:= '1' or 'O': 1-norm;= 'I': Infinity-norm.
NisINTEGER. The order of the matrix A.N >= 0.DLisCOMPLEX*16 array, dimension (N-1). The(n-1)multipliers that define the matrix L from the LU factorization of A as computed byZGTTRF.DisCOMPLEX*16 array, dimension (N). Thendiagonal elements of the upper triangular matrix U from the LU factorization of A.DUisCOMPLEX*16 array, dimension (N-1). The(n-1)elements of the first superdiagonal of U.DU2isCOMPLEX*16 array, dimension (N-2). The(n-2)elements of the second superdiagonal of U.IPIVisINTEGER 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.ANORMisDOUBLE PRECISION. IfNORM = '1' or 'O', the 1-norm of the original matrix A. IfNORM = 'I', the infinity-norm of the original matrix A.RCONDisDOUBLE PRECISION. The reciprocal of the condition number of the matrix A, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine.WORKisCOMPLEX*16 array, dimension (2*N).INFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-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 zgtcon.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β thatβs the whole page, bestie. Itβs from LAPACK, Version 3.12.0, and the page is SRC/zgtcon.f(3). πβ¨
π¦ 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