HP MLIB User's Guide Vol. 2 7th Ed.
Chapter 9 LAPACK Auxiliary Subprograms 669
Compute norm of symmetric or Hermitian band matrix SLANSB/DLANSB/CLANHB/CLANSB/ZLANHB/ZLANSB
CHARACTER*1 norm, uplo
INTEGER*8 kd, ldab, n
REAL*4 rwork(n)
COMPLEX*8 ab(ldab, n)
REAL*4 anorm, CLANSB
anorm = CLANSB(norm, uplo, n, kd, ab, ldab, rwork)
CHARACTER*1 norm, uplo
INTEGER*8 kd, ldab, n
REAL*8 rwork(n)
COMPLEX*16 ab(ldab, n)
REAL*8 anorm, ZLANHB
anorm = ZLANHB(norm, uplo, n, kd, ab, ldab, rwork)
CHARACTER*1 norm, uplo
INTEGER*8 kd, ldab, n
REAL*8 rwork(n)
COMPLEX*16 ab(ldab, n)
REAL*8 anorm, ZLANSB
anorm = ZLANSB(norm, uplo, n, kd, ab, ldab, rwork)
Input norm Specifies which norm is to be computed, as follows:
norm = ’F’, ’f’, ’E’, or ’e’ Compute ||A||
F
= the Frobenius
norm.
norm = ’I’ or ’i’ Compute ||A||
∞
= maximum
row sum.
norm = ’1’, ’O’, or ’o’ Compute ||A||
1
= maximum
column sum.
norm = ’M’ or ’m’ Compute max(|A
ij
|).
uplo Specifies whether the upper or lower triangular part of
the symmetric or Hermitian matrix A is stored, as
follows:
uplo = ’U’ or ’u’ The upper triangular part of A
is stored.
uplo = ’L’ or ’l’ The lower triangular part of A
is stored.
n The order of the matrix A. n ≥ 0.
kd The number of super-diagonals of the matrix A if
uplo = ’U’ or ’u’, or the number of sub-diagonals if
uplo = ’L’ or ’l’. kd ≥ 0.