1ZLANTR(1) LAPACK auxiliary routine (version 3.1) ZLANTR(1)
2
3
4
6 ZLANTR - the value of the one norm, or the Frobenius norm, or the
7 infinity norm, or the element of largest absolute value of a trape‐
8 zoidal or triangular matrix A
9
11 DOUBLE PRECISION FUNCTION ZLANTR( NORM, UPLO, DIAG, M, N, A, LDA, WORK
12 )
13
14 CHARACTER DIAG, NORM, UPLO
15
16 INTEGER LDA, M, N
17
18 DOUBLE PRECISION WORK( * )
19
20 COMPLEX*16 A( LDA, * )
21
23 ZLANTR returns the value of the one norm, or the Frobenius norm, or
24 the infinity norm, or the element of largest absolute value of a
25 trapezoidal or triangular matrix A.
26
27
29 ZLANTR returns the value
30
31 ZLANTR = ( max(abs(A(i,j))), NORM = 'M' or 'm'
32 (
33 ( norm1(A), NORM = '1', 'O' or 'o'
34 (
35 ( normI(A), NORM = 'I' or 'i'
36 (
37 ( normF(A), NORM = 'F', 'f', 'E' or 'e'
38
39 where norm1 denotes the one norm of a matrix (maximum column sum),
40 normI denotes the infinity norm of a matrix (maximum row sum) and
41 normF denotes the Frobenius norm of a matrix (square root of sum of
42 squares). Note that max(abs(A(i,j))) is not a consistent matrix
43 norm.
44
45
47 NORM (input) CHARACTER*1
48 Specifies the value to be returned in ZLANTR as described
49 above.
50
51 UPLO (input) CHARACTER*1
52 Specifies whether the matrix A is upper or lower trapezoidal.
53 = 'U': Upper trapezoidal
54 = 'L': Lower trapezoidal Note that A is triangular instead of
55 trapezoidal if M = N.
56
57 DIAG (input) CHARACTER*1
58 Specifies whether or not the matrix A has unit diagonal. =
59 'N': Non-unit diagonal
60 = 'U': Unit diagonal
61
62 M (input) INTEGER
63 The number of rows of the matrix A. M >= 0, and if UPLO = 'U',
64 M <= N. When M = 0, ZLANTR is set to zero.
65
66 N (input) INTEGER
67 The number of columns of the matrix A. N >= 0, and if UPLO =
68 'L', N <= M. When N = 0, ZLANTR is set to zero.
69
70 A (input) COMPLEX*16 array, dimension (LDA,N)
71 The trapezoidal matrix A (A is triangular if M = N). If UPLO =
72 'U', the leading m by n upper trapezoidal part of the array A
73 contains the upper trapezoidal matrix, and the strictly lower
74 triangular part of A is not referenced. If UPLO = 'L', the
75 leading m by n lower trapezoidal part of the array A contains
76 the lower trapezoidal matrix, and the strictly upper triangular
77 part of A is not referenced. Note that when DIAG = 'U', the
78 diagonal elements of A are not referenced and are assumed to be
79 one.
80
81 LDA (input) INTEGER
82 The leading dimension of the array A. LDA >= max(M,1).
83
84 WORK (workspace) DOUBLE PRECISION array, dimension (MAX(1,LWORK)),
85 where LWORK >= M when NORM = 'I'; otherwise, WORK is not refer‐
86 enced.
87
88
89
90 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 ZLANTR(1)