laqhb(3)
π laqhb(3) π
okay bestie, welcome to the laqhb page β the glow-up guide for row/col scale matrices π
β¨. It's a library functions manual situation, and we're gonna walk through every single one of these subroutines together, no cap.
β¨ NAME β¨
laqhb β row/col scale matrix. that's the vibe. iconic, honestly π«Ά
πΈ SYNOPSIS πΈ
π Functions
subroutine claqhb (uplo, n, kd, ab, ldab, s, scond, amax, equed)βCLAQHBscales a Hermitian band matrix, using scaling factors computed bycpbequ. slay.subroutine claqsb (uplo, n, kd, ab, ldab, s, scond, amax, equed)βCLAQSBscales a symmetric/Hermitian band matrix, using scaling factors computed byspbequ.subroutine dlaqsb (uplo, n, kd, ab, ldab, s, scond, amax, equed)βDLAQSBscales a symmetric/Hermitian band matrix, using scaling factors computed byspbequ.subroutine slaqsb (uplo, n, kd, ab, ldab, s, scond, amax, equed)βSLAQSBscales a symmetric/Hermitian band matrix, using scaling factors computed byspbequ.subroutine zlaqhb (uplo, n, kd, ab, ldab, s, scond, amax, equed)βZLAQHBscales a Hermitian band matrix, using scaling factors computed bycpbequ.subroutine zlaqsb (uplo, n, kd, ab, ldab, s, scond, amax, equed)βZLAQSBscales a symmetric/Hermitian band matrix, using scaling factors computed byspbequ.
π¦ Detailed Description π¦
okay so this is where it gets juicy β the Function Documentation. we're going deep on each one, one at a time. buckle up πβ¨
π Function Documentation π
π§ claqhb π§
subroutine claqhb (character uplo, integer n, integer kd, complex,
dimension( ldab, * ) ab, integer ldab, real, dimension( * ) s, real
scond, real amax, character equed)
CLAQHB scales a Hermitian band matrix, using scaling factors computed by cpbequ. literally its whole personality π
β¨ Purpose β¨
CLAQHBequilibrates an Hermitian band matrixAusing the scaling factors in the vectorS.
πΈ Parameters πΈ
UPLOβUPLOisCHARACTER*1. Tells us whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U':Upper triangular= 'L':Lower triangular
NβNisINTEGER. The order of the matrixA.N >= 0.KDβKDisINTEGER. The number of super-diagonals of the matrixAifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'.KD >= 0.ABβABisCOMPLEXarray, dimension(LDAB,N). On entry, the upper or lower triangle of the symmetric band matrixA, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
On exit, if INFO = 0, the triangular factor U or L from the Cholesky factorization A = U**H *U or A = L*L**H of the band matrix A, in the same storage format as A. (yes bestie, **H β Hermitian energy π)
LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KD+1.SβSisREALarray, dimension(N). The scale factors forA.SCONDβSCONDisREAL. Ratio of the smallestS(i)to the largestS(i).AMAXβAMAXisREAL. Absolute value of largest matrix entry.EQUEDβEQUEDisCHARACTER*1. Specifies whether or not equilibration was done:= 'N':No equilibration.= 'Y':Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S).
π₯ Internal Parameters π₯
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done.LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file claqhb.f.
π claqsb π
subroutine claqsb (character uplo, integer n, integer kd, complex,
dimension( ldab, * ) ab, integer ldab, real, dimension( * ) s, real
scond, real amax, character equed)
CLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ. same energy, different name, still ate π
β¨ Purpose β¨
CLAQSBequilibrates a symmetric band matrixAusing the scaling factors in the vectorS.
πΈ Parameters πΈ
UPLOβUPLOisCHARACTER*1. Tells us whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U':Upper triangular= 'L':Lower triangular
NβNisINTEGER. The order of the matrixA.N >= 0.KDβKDisINTEGER. The number of super-diagonals of the matrixAifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'.KD >= 0.ABβABisCOMPLEXarray, dimension(LDAB,N). On entry, the upper or lower triangle of the symmetric band matrixA, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
On exit, if INFO = 0, the triangular factor U or L from the Cholesky factorization A = U**H *U or A = L*L**H of the band matrix A, in the same storage format as A.
LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KD+1.SβSisREALarray, dimension(N). The scale factors forA.SCONDβSCONDisREAL. Ratio of the smallestS(i)to the largestS(i).AMAXβAMAXisREAL. Absolute value of largest matrix entry.EQUEDβEQUEDisCHARACTER*1. Specifies whether or not equilibration was done:= 'N':No equilibration.= 'Y':Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S).
π₯ Internal Parameters π₯
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done.LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file claqsb.f.
π dlaqsb π
subroutine dlaqsb (character uplo, integer n, integer kd, double precision,
dimension( ldab, * ) ab, integer ldab, double precision, dimension( * )
s, double precision scond, double precision amax, character equed)
DLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ. double precision edition, we love to see it β¨
β¨ Purpose β¨
DLAQSBequilibrates a symmetric band matrixAusing the scaling factors in the vectorS.
πΈ Parameters πΈ
UPLOβUPLOisCHARACTER*1. Tells us whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U':Upper triangular= 'L':Lower triangular
NβNisINTEGER. The order of the matrixA.N >= 0.KDβKDisINTEGER. The number of super-diagonals of the matrixAifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'.KD >= 0.ABβABisDOUBLE PRECISIONarray, dimension(LDAB,N). On entry, the upper or lower triangle of the symmetric band matrixA, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
On exit, if INFO = 0, the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T of the band matrix A, in the same storage format as A. (note: this one's **T, not **H β keep that energy, bestie π)
LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KD+1.SβSisDOUBLE PRECISIONarray, dimension(N). The scale factors forA.SCONDβSCONDisDOUBLE PRECISION. Ratio of the smallestS(i)to the largestS(i).AMAXβAMAXisDOUBLE PRECISION. Absolute value of largest matrix entry.EQUEDβEQUEDisCHARACTER*1. Specifies whether or not equilibration was done:= 'N':No equilibration.= 'Y':Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S).
π₯ Internal Parameters π₯
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done.LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 139 of file dlaqsb.f.
π«Ά subroutine slaqsb β the real-valued one, let's go
subroutine slaqsb (character uplo, integer n, integer kd, real, dimension(
ldab, * ) ab, integer ldab, real, dimension( * ) s, real scond, real
amax, character equed)
okay so SLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ. β¨ That's the whole vibe. It's the glow-up pass for your matrix.
π Purpose
SLAQSB equilibrates a symmetric band matrix A using the scaling factors in the vector S.
Literally just: here's A, here's S, let's make A behave. π
πΈ Parameters
UPLOβUPLOisCHARACTER*1, and it tells us which triangle of the symmetric matrix A we're storing, bestie:= 'U': Upper triangular β¬οΈ= 'L': Lower triangular β¬οΈ
NβNisINTEGER, the order of the matrix A. Constraint:N >= 0. (Zero is allowed, she's valid. π )KDβKDisINTEGER, the number of super-diagonals of the matrix A ifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'. Constraint:KD >= 0. π¦ABβABisREALarray, dimension(LDAB,N). Okay so on entry, this holds the upper or lower triangle of the symmetric band matrix A, stored in the firstKD+1rows of the array. The j-th column of A lives in the j-th column of the arrayABlike this:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
On exit, if INFO = 0, you get the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T of the band matrix A, in the same storage format as A. Same fit, new outfit. π₯
LDABβLDABisINTEGER, the leading dimension of the arrayAB. Constraint:LDAB >= KD+1. Don't skimp. πSβSisREALarray, dimension(N). The scale factors for A. πSCONDβSCONDisREAL. The ratio of the smallestS(i)to the largestS(i). πAMAXβAMAXisREAL. The absolute value of the largest matrix entry. πEQUEDβEQUEDisCHARACTER*1, and it reports whether or not equilibration was actually done:= 'N': No equilibration. π΄= 'Y': Equilibration was done, i.e., A has been replaced bydiag(S) * A * diag(S). π periodt
π§ Internal Parameters
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done. π―LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done. βοΈ
β Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 139 of file slaqsb.f.
π subroutine zlaqhb β Hermitian band matrix edition
subroutine zlaqhb (character uplo, integer n, integer kd, complex*16,
dimension( ldab, * ) ab, integer ldab, double precision, dimension( * )
s, double precision scond, double precision amax, character equed)
ZLAQHB scales a Hermitian band matrix, using scaling factors computed by cpbequ. π¦ Same energy, complex flavour.
πΈ Purpose
ZLAQHB equilibrates a Hermitian band matrix A using the scaling factors in the vector S.
π Parameters
UPLOβUPLOisCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrix A is stored:= 'U': Upper triangular β¬οΈ= 'L': Lower triangular β¬οΈ
NβNisINTEGER. The order of the matrix A. Constraint:N >= 0. πKDβKDisINTEGER. The number of super-diagonals of the matrix A ifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'. Constraint:KD >= 0. β¨ABβABisCOMPLEX*16array, dimension(LDAB,N). On entry, the upper or lower triangle of the symmetric band matrix A, stored in the firstKD+1rows of the array. The j-th column of A is stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
On exit, if INFO = 0, the triangular factor U or L from the Cholesky factorization A = U**H *U or A = L*L**H of the band matrix A, in the same storage format as A. Note the **H β conjugate transpose, she's fancy like that. π₯
LDABβLDABisINTEGER. The leading dimension of the arrayAB. Constraint:LDAB >= KD+1. πSβSisDOUBLE PRECISIONarray, dimension(N). The scale factors for A. πSCONDβSCONDisDOUBLE PRECISION. Ratio of the smallestS(i)to the largestS(i). πAMAXβAMAXisDOUBLE PRECISION. Absolute value of largest matrix entry. πEQUEDβEQUEDisCHARACTER*1. Specifies whether or not equilibration was done:= 'N': No equilibration. π΄= 'Y': Equilibration was done, i.e., A has been replaced bydiag(S) * A * diag(S). π
π§ Internal Parameters
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done. π―LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done. βοΈ
β Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file zlaqhb.f.
π subroutine zlaqsb β complex symmetric/Hermitian band one
subroutine zlaqsb (character uplo, integer n, integer kd, complex*16,
dimension( ldab, * ) ab, integer ldab, double precision, dimension( * )
s, double precision scond, double precision amax, character equed)
ZLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ. π (Yes, spbequ β that's what it says, don't come for me. π«Ά)
πΈ Purpose
ZLAQSB equilibrates a symmetric band matrix A using the scaling factors in the vector S.
π Parameters
UPLOβUPLOisCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrix A is stored:= 'U': Upper triangular β¬οΈ= 'L': Lower triangular β¬οΈ
NβNisINTEGER. The order of the matrix A. Constraint:N >= 0. πKDβKDisINTEGER. The number of super-diagonals of the matrix A ifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'. Constraint:KD >= 0. β¨ABβABisCOMPLEX*16array, dimension(LDAB,N). On entry, the upper or lower triangle of the symmetric band matrix A, stored in the firstKD+1rows of the array. The j-th column of A is stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
On exit, if INFO = 0, the triangular factor U or L from the Cholesky factorization A = U**H *U or A = L*L**H of the band matrix A, in the same storage format as A. π₯
LDABβLDABisINTEGER. The leading dimension of the arrayAB. Constraint:LDAB >= KD+1. πSβSisDOUBLE PRECISIONarray, dimension(N). The scale factors for A. πSCONDβSCONDisDOUBLE PRECISION. Ratio of the smallestS(i)to the largestS(i). πAMAXβAMAXisDOUBLE PRECISION. Absolute value of largest matrix entry. πEQUEDβEQUEDisCHARACTER*1. Specifies whether or not equilibration was done:= 'N': No equilibration. π΄= 'Y': Equilibration was done, i.e., A has been replaced bydiag(S) * A * diag(S). π
π§ Internal Parameters
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done. π―LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done. βοΈ
β Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file zlaqsb.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. Not a human, just a very diligent robot. π€π
and that's the whole page, bestie!! π This one's from LAPACK, Version 3.12.0, and it's the laqhb(3) page β go forth and scale those band matrices, ily, bye! πβ¨π¦
π¦ 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