1ZLANTP(1) LAPACK auxiliary routine (version 3.1) ZLANTP(1)
2
3
4
6 ZLANTP - the value of the one norm, or the Frobenius norm, or the
7 infinity norm, or the element of largest absolute value of a triangular
8 matrix A, supplied in packed form
9
11 DOUBLE PRECISION FUNCTION ZLANTP( NORM, UPLO, DIAG, N, AP, WORK )
12
13 CHARACTER DIAG, NORM, UPLO
14
15 INTEGER N
16
17 DOUBLE PRECISION WORK( * )
18
19 COMPLEX*16 AP( * )
20
22 ZLANTP returns the value of the one norm, or the Frobenius norm, or
23 the infinity norm, or the element of largest absolute value of a
24 triangular matrix A, supplied in packed form.
25
26
28 ZLANTP returns the value
29
30 ZLANTP = ( max(abs(A(i,j))), NORM = 'M' or 'm'
31 (
32 ( norm1(A), NORM = '1', 'O' or 'o'
33 (
34 ( normI(A), NORM = 'I' or 'i'
35 (
36 ( normF(A), NORM = 'F', 'f', 'E' or 'e'
37
38 where norm1 denotes the one norm of a matrix (maximum column sum),
39 normI denotes the infinity norm of a matrix (maximum row sum) and
40 normF denotes the Frobenius norm of a matrix (square root of sum of
41 squares). Note that max(abs(A(i,j))) is not a consistent matrix
42 norm.
43
44
46 NORM (input) CHARACTER*1
47 Specifies the value to be returned in ZLANTP as described
48 above.
49
50 UPLO (input) CHARACTER*1
51 Specifies whether the matrix A is upper or lower triangular. =
52 'U': Upper triangular
53 = 'L': Lower triangular
54
55 DIAG (input) CHARACTER*1
56 Specifies whether or not the matrix A is unit triangular. =
57 'N': Non-unit triangular
58 = 'U': Unit triangular
59
60 N (input) INTEGER
61 The order of the matrix A. N >= 0. When N = 0, ZLANTP is set
62 to zero.
63
64 AP (input) COMPLEX*16 array, dimension (N*(N+1)/2)
65 The upper or lower triangular matrix A, packed columnwise in a
66 linear array. The j-th column of A is stored in the array AP
67 as follows: if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j) for
68 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = A(i,j) for
69 j<=i<=n. Note that when DIAG = 'U', the elements of the array
70 AP corresponding to the diagonal elements of the matrix A are
71 not referenced, but are assumed to be one.
72
73 WORK (workspace) DOUBLE PRECISION array, dimension (MAX(1,LWORK)),
74 where LWORK >= N when NORM = 'I'; otherwise, WORK is not refer‐
75 enced.
76
77
78
79 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 ZLANTP(1)