DPBCON(3)
π DPBCON(3) β like, the LAPACK library functions manual, bestie π
okay so real talk: this page lives in the Library Functions Manual, and the "name" of the thing is literally this whole path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-
static-3.12.0-build/lapack-3.12.0/SRC/dpbcon.f
yes it's giving "my mom named the file with the entire receipt" π but that's where DPBCON comes from, so we respect it. π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines πΈ
subroutine DPBCON (uplo, n, kd, ab, ldab, anorm, rcond, work, iwork, info)β the one and onlyDPBCON, queen of condition-number estimates π
π Function/Subroutine Documentation π
subroutine DPBCON (character uplo, integer n, integer kd, double precision,
dimension( ldab, * ) ab, integer ldab, double precision anorm, double
precision rcond, double precision, dimension( * ) work, integer,
dimension( * ) iwork, integer info)
π¦ Purpose: π¦
!>!> DPBCON estimates the reciprocal of the condition number (in the!> 1-norm) of a real symmetric positive definite band matrix using the!> Cholesky factorization A = U**T*U or A = L*L**T computed by DPBTRF.!>!> An estimate is obtained for norm(inv(A)), and the reciprocal of the!> condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).!>
so basically: you already ran DPBTRF and got your Cholesky factorization A = U**T*U or A = L*L**T of a real symmetric positive definite band matrix. iconic. now DPBCON comes in and tells you how sketchy that matrix is β it estimates norm(inv(A)) and hands you back RCOND = 1 / (ANORM * norm(inv(A))). small RCOND = your matrix is not doing so hot π, big-ish RCOND = slay π
.
β¨ Parameters β¨
UPLOβUPLO is CHARACTER*1. which triangle of the factorization is chillin' inAB:= 'U': Upper triangular factor stored in AB;= 'L': Lower triangular factor stored in AB.
NβN is INTEGER.The order of the matrix A. N >= 0.like, how big is she.KDβKD is INTEGER.The number of superdiagonals of the matrix A if UPLO = 'U',orthe number of subdiagonals if UPLO = 'L'. KD >= 0.the band width, iykyk.ABβAB is DOUBLE PRECISION array, dimension (LDAB,N).The triangular factor U or L from the Cholesky factorizationA = U**T*U or A = L*L**T of the band matrix A, stored in thefirst KD+1 rows of the array. The j-th column of U or L isstored in the j-th column of the array AB as follows:β and here's the exact mapping, don't @ me:if UPLO ='U', AB(kd+1+i-j,j) = U(i,j) for max(1,j-kd)<=i<=j;if UPLO ='L', AB(1+i-j,j) = L(i,j) for j<=i<=min(n,j+kd).
LDABβLDAB is INTEGER.The leading dimension of the array AB. LDAB >= KD+1.respect the leading dimension, always π.ANORMβANORM is DOUBLE PRECISION.The 1-norm (or infinity-norm) of the symmetric band matrix A.you bring this, the routine does not compute it for you, main character energy only.RCONDβRCOND is DOUBLE PRECISION.The reciprocal of the condition number of the matrix A,computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is anestimate of the 1-norm of inv(A) computed in this routine.this is the whole point of the function, the moment, the finale π.WORKβWORK is DOUBLE PRECISION array, dimension (3*N). that's a 3 times N situation, note it.IWORKβIWORK is INTEGER array, dimension (N). integer scratch, dimension N, tyvm.INFOβINFO is INTEGER:= 0: successful exitπ< 0: if INFO = -i, the i-th argument had an illegal valueπ (you fed it something cursed, it's telling you which position)
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 130 of file dpbcon.f. π
π©· Author π©·
Generated automatically by Doxygen for LAPACK from the source code. (yes, a robot wrote this, but I'm the one making it cute π )
okay bestie that's the whole page β and for the cute sign-off: this is LAPACK, Version 3.12.0, and the footer is literally just /home/abui...RC/dpbcon.f(3) again, so consider it signed, sealed, and slayed π§ββοΈπβ¨
π¦ 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