1DLANSB(1) LAPACK auxiliary routine (version 3.2) DLANSB(1)
2
3
4
6 DLANSB - returns the value of the one norm, or the Frobenius norm, or
7 the infinity norm, or the element of largest absolute value of an n by
8 n symmetric band matrix A, with k super-diagonals
9
11 DOUBLE PRECISION FUNCTION DLANSB( NORM, UPLO, N, K, AB, LDAB, WORK )
12
13 CHARACTER NORM, UPLO
14
15 INTEGER K, LDAB, N
16
17 DOUBLE PRECISION AB( LDAB, * ), WORK( * )
18
20 DLANSB returns the value of the one norm, or the Frobenius norm, or
21 the infinity norm, or the element of largest absolute value of an n
22 by n symmetric band matrix A, with k super-diagonals.
23
25 DLANSB returns the value
26 DLANSB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
27 (
28 ( norm1(A), NORM = '1', 'O' or 'o'
29 (
30 ( normI(A), NORM = 'I' or 'i'
31 (
32 ( normF(A), NORM = 'F', 'f', 'E' or 'e' where
33 norm1 denotes the one norm of a matrix (maximum column sum), normI
34 denotes the infinity norm of a matrix (maximum row sum) and normF
35 denotes the Frobenius norm of a matrix (square root of sum of
36 squares). Note that max(abs(A(i,j))) is not a consistent matrix
37 norm.
38
40 NORM (input) CHARACTER*1
41 Specifies the value to be returned in DLANSB as described
42 above.
43
44 UPLO (input) CHARACTER*1
45 Specifies whether the upper or lower triangular part of the
46 band matrix A is supplied. = 'U': Upper triangular part is
47 supplied
48 = 'L': Lower triangular part is supplied
49
50 N (input) INTEGER
51 The order of the matrix A. N >= 0. When N = 0, DLANSB is set
52 to zero.
53
54 K (input) INTEGER
55 The number of super-diagonals or sub-diagonals of the band
56 matrix A. K >= 0.
57
58 AB (input) DOUBLE PRECISION array, dimension (LDAB,N)
59 The upper or lower triangle of the symmetric band matrix A,
60 stored in the first K+1 rows of AB. The j-th column of A is
61 stored in the j-th column of the array AB as follows: if UPLO =
62 'U', AB(k+1+i-j,j) = A(i,j) for max(1,j-k)<=i<=j; if UPLO =
63 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+k).
64
65 LDAB (input) INTEGER
66 The leading dimension of the array AB. LDAB >= K+1.
67
68 WORK (workspace) DOUBLE PRECISION array, dimension (MAX(1,LWORK)),
69 where LWORK >= N when NORM = 'I' or '1' or 'O'; otherwise, WORK
70 is not referenced.
71
72
73
74 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 DLANSB(1)