SLANTB(3)
πΈ NAME πΈ
SLANTB(3) is the manual name, and it sits under the Library Functions Manual umbrella. The source file path, exactly as the page gives it, is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slantb.f
Okay so this is the LAPACK page for a real function that returns norm values for a triangular band matrix. Very linear-algebra bestie, very βlet me check that matrix for youβ energy. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
real function SLANTB (norm, uplo, diag, n, k, ab, ldab, work)
SLANTB returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular band matrix. Thatβs the whole vibe check, bestie. π¦
π«Ά Function/Subroutine Documentation π«Ά
Hereβs the full signature, verbatim:
real function SLANTB (character norm, character uplo, character diag,
integer n, integer k, real, dimension( ldab, * ) ab, integer ldab, real,
dimension( * ) work)
SLANTB returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular band matrix.
π― Purpose π―
The original purpose block is giving iconic documentation energy, so here it is exactly:
!>
!> SLANTB 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 triangular band matrix A, with ( k + 1 ) diagonals.
!>
Translation for the group chat: itβs an n by n triangular band matrix A, with ( k + 1 ) diagonals, and SLANTB gives you the norm value you asked for. Slay. β¨
π Returns π
SLANTB returns one of these, and the original decision tree is literally right here:
!>
!> SLANTB = ( 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: 'M'/'m' gives you max(abs(A(i,j))); '1'/'O'/'o' gives you norm1(A); 'I'/'i' gives you normI(A); and 'F'/'f'/'E'/'e' gives you normF(A). And do not forget the note, bestie: max(abs(A(i,j))) is not a consistent matrix norm. Thatβs a real caveat, not a vibe suggestion. β οΈ
π Parameters π
NORMβNORM is CHARACTER*1. Specifies the value to be returned inSLANTBas described above. Yes, this is the norm selector, the main character of the whole page.UPLOβUPLO is CHARACTER*1. Specifies whether the matrixAis upper or lower triangular.= 'U':Upper triangular= 'L':Lower triangular
DIAGβDIAG is CHARACTER*1. Specifies whether or not the matrixAis unit triangular.= 'N':Non-unit triangular= 'U':Unit triangular
NβN is INTEGER. The order of the matrixA.N >= 0. WhenN = 0,SLANTBis set to zero. Zero-size matrix? Handled. Periodt.KβK is INTEGER. The number of super-diagonals of the matrixAifUPLO = 'U', or the number of sub-diagonals of the matrixAifUPLO = 'L'.K >= 0.ABβAB is REAL array, dimension (LDAB,N). The upper or lower triangular band matrixA, stored in the firstk+1rows ofAB. Thej-th column ofAis stored in thej-th column of the arrayABas follows:- if
UPLO = 'U',AB(k+1+i-j,j) = A(i,j)formax(1,j-k)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+k). Note that whenDIAG = 'U', the elements of the arrayABcorresponding to the diagonal elements of the matrixAare not referenced, but are assumed to be one. Those diagonal entries in AB are literally not referenced in unit mode, okay? Assumed to be one, no touchy.
- if
LDABβLDAB is INTEGER. The leading dimension of the arrayAB.LDAB >= K+1.WORKβWORK is REAL array, dimension (MAX(1,LWORK)), where LWORK >= N when NORM = 'I'; otherwise, WORK is not referenced.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line138of fileslantb.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Thatβs the meta-author note, bestie β not a human, just the doc machine doing its thing. π€β¨
π Thatβs the whole page: LAPACK Version 3.12.0, source path /home/abui...RC/slantb.f(3). Footer folded in with love, no copied line, no cap. π
π¦ 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