SRC/clantb.f(3)
π NAME π
SRC/clantb.f β okay bestie, this is the Library Functions Manual page for SRC/clantb.f, and it's lowkey iconic β¨
β¨ SYNOPSIS β¨
π« Functions/Subroutines π«
real function clantb (norm, uplo, diag, n, k, ab, ldab, work)β CLANTB 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. π
π Function/Subroutine Documentation π
real function clantb (character norm, character uplo, character diag,
integer n, integer k, complex, dimension( ldab, * ) ab, integer ldab,
real, dimension( * ) work)
CLANTB 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
CLANTB 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. No cap, that's the whole job. π
π Returns
Returns: CLANTB
!>
!> CLANTB = ( 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.
!>
π§Έ Parameters
NORMβNORM is CHARACTER*1. Specifies the value to be returned inCLANTBas described above. It's giving norm-selector main character energy. π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,CLANTBis set to zero. π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 COMPLEX 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: ifUPLO = 'U',AB(k+1+i-j,j) = A(i,j)formax(1,j-k)<=i<=j; ifUPLO = '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. πLDABβLDAB is INTEGER. The leading dimension of the arrayAB.LDAB >= K+1.WORKβWORK is REAL array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'; otherwise,WORKis not referenced. β¨
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 139 of file clantb.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay bestie, that's the whole page π this little icon is from LAPACK Version 3.12.0, page SRC/clantb.f(3) πβ¨
π¦ 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