SLANGB(3)
π SLANGB(3) β like, the band-matrix norm girlie π
okay bestie, so this page lives in the Library Functions Manual and it's literally about /home/abui...RC/slangb.f(3) β yes, the same path twice on the header line, that's just how the manual do. anyway, buckle up π¦
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slangb.f
that's it. that's the name. it's giving "my whole identity is a build path" π but slay, we move.
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
real function SLANGB (norm, n, kl, ku, ab, ldab, work)
SLANGB returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general band matrix. periodt. π
π Function/Subroutine Documentation π
real function SLANGB (character norm, integer n, integer kl, integer ku,
real, dimension( ldab, * ) ab, integer ldab, real, dimension( * ) work)
so, again, no cap: SLANGB returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general band matrix. iconic behaviour honestly π
π§ Purpose π§
!> !> SLANGB returns the value of the one norm, or the Frobenius norm, or !> the infinity norm, or the element of largest absolute value of an !> n by n band matrix A, with kl sub-diagonals and ku super-diagonals. !>
like, it's an n by n band matrix A, lowkey hanging out with kl sub-diagonals and ku super-diagonals, and SLANGB is here to measure it. main character energy fr fr π«Ά
β Returns β
SLANGB
!>
!> SLANGB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
!> (
!> ( norm1(A), NORM = '1', 'O' or 'o'
!> (
!> ( normI(A), NORM = 'I' or 'i'
!> (
!> ( normF(A), NORM = 'F', 'f', 'E' or 'e'
!>
!> where norm1 denotes the one norm of a matrix (maximum column sum),
!> normI denotes the infinity norm of a matrix (maximum row sum) and
!> normF denotes the Frobenius norm of a matrix (square root of sum of
!> squares). Note that max(abs(A(i,j))) is not a consistent matrix norm.
!>
so like, pick your fighter: norm1 is the one norm (maximum column sum), normI is the infinity norm (maximum row sum), and normF is the Frobenius norm (square root of sum of squares) π
β οΈ heads up bestie: max(abs(A(i,j))) is not a consistent matrix norm. that's a real caveat, not me being dramatic. well β okay, it's also me being dramatic, but it's true. π
πΈ Parameters πΈ
NORMβ aCHARACTER*1. it specifies the value to be returned inSLANGBas described above. it's the vibe selector β¨Nβ anINTEGER, the order of the matrixA.N >= 0. and whenN = 0,SLANGBis set to zero. tiny matrix, tiny answer, we love a clean edge case πKLβ anINTEGER, the number of sub-diagonals of the matrixA.KL >= 0.KUβ anINTEGER, the number of super-diagonals of the matrixA.KU >= 0.ABβ aREALarray, dimension(LDAB,N). this is the band matrixA, stored in rows 1 toKL+KU+1. the j-th column ofAis stored in the j-th column of the arrayABas follows:
AB(ku+1+i-j,j) = A(i,j) for max(1,j-ku)<=i<=min(n,j+kl).
iykyk. that index gymnastics is literally the whole bit π§
LDABβ anINTEGER, the leading dimension of the arrayAB.LDAB >= KL+KU+1. don't skimp on it πWORKβ aREALarray, dimension(MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'; otherwise,WORKis not referenced. so she only shows up when infinity norm is invited. rude but valid π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 122 of file slangb.f.
π Author (the other one) π
Generated automatically by Doxygen for LAPACK from the source code. yes, a robot wrote the manpage. and now a gen z rewrote the manpage. the circle of life π¦
okay that's the whole page bestie, you ate that πβ¨
β xoxo, LAPACK Version 3.12.0, signed off from /home/abui...RC/slangb.f(3) π«Άπ
π¦ 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