1DLANTB(1)           LAPACK auxiliary routine (version 3.2)           DLANTB(1)
2
3
4

NAME

6       DLANTB  -  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 triangular band matrix A, with ( k + 1 ) diagonals
9

SYNOPSIS

11       DOUBLE PRECISION FUNCTION  DLANTB(  NORM,  UPLO,  DIAG, N, K, AB, LDAB,
12                        WORK )
13
14           CHARACTER    DIAG, NORM, UPLO
15
16           INTEGER      K, LDAB, N
17
18           DOUBLE       PRECISION AB( LDAB, * ), WORK( * )
19

PURPOSE

21       DLANTB  returns the value of the one norm,  or the Frobenius  norm,  or
22       the  infinity norm,  or the element of  largest absolute value  of an n
23       by n triangular band matrix A,  with ( k + 1 ) diagonals.
24

DESCRIPTION

26       DLANTB returns the value
27          DLANTB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
28                   (
29                   ( norm1(A),         NORM = '1', 'O' or 'o'
30                   (
31                   ( normI(A),         NORM = 'I' or 'i'
32                   (
33                   ( normF(A),         NORM =  'F',  'f',  'E'  or  'e'  where
34       norm1   denotes  the   one norm of a matrix (maximum column sum), normI
35       denotes the  infinity norm  of a matrix  (maximum row  sum)  and  normF
36       denotes  the   Frobenius  norm  of  a  matrix  (square  root  of sum of
37       squares).  Note that  max(abs(A(i,j)))   is  not  a  consistent  matrix
38       norm.
39

ARGUMENTS

41       NORM    (input) CHARACTER*1
42               Specifies  the  value  to  be  returned  in DLANTB as described
43               above.
44
45       UPLO    (input) CHARACTER*1
46               Specifies whether the matrix A is upper or lower triangular.  =
47               'U':  Upper triangular
48               = 'L':  Lower triangular
49
50       DIAG    (input) CHARACTER*1
51               Specifies  whether  or  not the matrix A is unit triangular.  =
52               'N':  Non-unit triangular
53               = 'U':  Unit triangular
54
55       N       (input) INTEGER
56               The order of the matrix A.  N >= 0.  When N = 0, DLANTB is  set
57               to zero.
58
59       K       (input) INTEGER
60               The number of super-diagonals of the matrix A if UPLO = 'U', or
61               the number of sub-diagonals of the matrix A if UPLO =  'L'.   K
62               >= 0.
63
64       AB      (input) DOUBLE PRECISION array, dimension (LDAB,N)
65               The  upper  or  lower  triangular  band matrix A, stored in the
66               first k+1 rows of AB.  The j-th column of A is stored in the j-
67               th  column of the array AB as follows: if UPLO = 'U', AB(k+1+i-
68               j,j) = A(i,j) for max(1,j-k)<=i<=j; if UPLO = 'L',  AB(1+i-j,j)
69               =  A(i,j) for j<=i<=min(n,j+k).  Note that when DIAG = 'U', the
70               elements of the array AB corresponding to the diagonal elements
71               of the matrix A are not referenced, but are assumed to be one.
72
73       LDAB    (input) INTEGER
74               The leading dimension of the array AB.  LDAB >= K+1.
75
76       WORK    (workspace) DOUBLE PRECISION array, dimension (MAX(1,LWORK)),
77               where LWORK >= N when NORM = 'I'; otherwise, WORK is not refer‐
78               enced.
79
80
81
82 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008                       DLANTB(1)
Impressum