SRC/cgbcon.f(3)
okay bestie, welcome to the glow-up of SRC/cgbcon.f(3) from the Library Functions Manual โ yes, itโs giving โLAPACK band-matrix condition-number realnessโ and weโre gonna read it together ๐
โจ
๐ธ NAME ๐ธ
SRC/cgbcon.f
๐ SYNOPSIS ๐
๐ง Functions/Subroutines
subroutine cgbcon (norm, n, kl, ku, ab, ldab, ipiv, anorm, rcond, work,
rwork, info)
CGBCON
๐ซถ FUNCTION/SUBROUTINE DOCUMENTATION ๐ซถ
subroutine cgbcon (character norm, integer n, integer kl, integer ku,
complex, dimension( ldab, * ) ab, integer ldab, integer, dimension( * )
ipiv, real anorm, real rcond, complex, dimension( * ) work, real,
dimension( * ) rwork, integer info)
CGBCON
๐ฏ Purpose ๐ฏ
okay so CGBCON estimates the reciprocal of the condition number of a complex general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by CGBTRF. No cap ๐งฎ
An estimate is obtained for norm(inv(A)), and then the reciprocal of the condition number is computed as
RCOND = 1 / ( norm(A) * norm(inv(A)) ).
๐งพ Parameters ๐งพ
NORM
NORMisCHARACTER*1โ it specifies whether the 1-norm condition number or the infinity-norm condition number is required:= '1'or'O': 1-norm;= 'I': Infinity-norm.
N
NisINTEGERโ the order of the matrixA.N >= 0.
KL
KLisINTEGERโ the number of subdiagonals within the band ofA.KL >= 0.
KU
KUisINTEGERโ the number of superdiagonals within the band ofA.KU >= 0.
AB
ABisCOMPLEX array, dimension (LDAB,N)โ the details of the LU factorization of the band matrixA, as computed byCGBTRF.Uis stored as an upper triangular band matrix withKL+KUsuperdiagonals in rows1toKL+KU+1, and the multipliers used during the factorization are stored in rowsKL+KU+2to2*KL+KU+1.
LDAB
LDABisINTEGERโ the leading dimension of the arrayAB.LDAB >= 2*KL+KU+1.
IPIV
IPIVisINTEGER array, dimension (N)โ the pivot indices; for1 <= i <= N, rowiof the matrix was interchanged with rowIPIV(i).
ANORM
ANORMisREALโ ifNORM = '1'or'O', itโs the 1-norm of the original matrixA. IfNORM = 'I', itโs the infinity-norm of the original matrixA.
RCOND
RCONDisREALโ the reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).
WORK
WORKisCOMPLEX array, dimension (2*N).
RWORK
RWORKisREAL array, dimension (N).
INFO
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 145 of file cgbcon.f.
๐ช AUTHOR ๐ช
Generated automatically by Doxygen for LAPACK from the source code. ๐ค
okay thatโs the whole thing, bestie. This page is from LAPACK Version 3.12.0 and the source is SRC/cgbcon.f(3). go off, condition-number icon ๐
๐
๐ฆ 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