1CLANHE(1) LAPACK auxiliary routine (version 3.2) CLANHE(1)
2
3
4
6 CLANHE - returns the value of the one norm, or the Frobenius norm, or
7 the infinity norm, or the element of largest absolute value of a com‐
8 plex hermitian matrix A
9
11 REAL FUNCTION CLANHE( NORM, UPLO, N, A, LDA, WORK )
12
13 CHARACTER NORM, UPLO
14
15 INTEGER LDA, N
16
17 REAL WORK( * )
18
19 COMPLEX A( LDA, * )
20
22 CLANHE 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 complex hermitian matrix A.
25
27 CLANHE returns the value
28 CLANHE = ( max(abs(A(i,j))), NORM = 'M' or 'm'
29 (
30 ( norm1(A), NORM = '1', 'O' or 'o'
31 (
32 ( normI(A), NORM = 'I' or 'i'
33 (
34 ( normF(A), NORM = 'F', 'f', 'E' or 'e' where
35 norm1 denotes the one norm of a matrix (maximum column sum), normI
36 denotes the infinity norm of a matrix (maximum row sum) and normF
37 denotes the Frobenius norm of a matrix (square root of sum of
38 squares). Note that max(abs(A(i,j))) is not a consistent matrix
39 norm.
40
42 NORM (input) CHARACTER*1
43 Specifies the value to be returned in CLANHE as described
44 above.
45
46 UPLO (input) CHARACTER*1
47 Specifies whether the upper or lower triangular part of the
48 hermitian matrix A is to be referenced. = 'U': Upper triangu‐
49 lar part of A is referenced
50 = 'L': Lower triangular part of A is referenced
51
52 N (input) INTEGER
53 The order of the matrix A. N >= 0. When N = 0, CLANHE is set
54 to zero.
55
56 A (input) COMPLEX array, dimension (LDA,N)
57 The hermitian matrix A. If UPLO = 'U', the leading n by n
58 upper triangular part of A contains the upper triangular part
59 of the matrix A, and the strictly lower triangular part of A is
60 not referenced. If UPLO = 'L', the leading n by n lower trian‐
61 gular part of A contains the lower triangular part of the
62 matrix A, and the strictly upper triangular part of A is not
63 referenced. Note that the imaginary parts of the diagonal ele‐
64 ments need not be set and are assumed to be zero.
65
66 LDA (input) INTEGER
67 The leading dimension of the array A. LDA >= max(N,1).
68
69 WORK (workspace) REAL array, dimension (MAX(1,LWORK)),
70 where LWORK >= N when NORM = 'I' or '1' or 'O'; otherwise, WORK
71 is not referenced.
72
73
74
75 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 CLANHE(1)