1ZPOEQU(1) LAPACK routine (version 3.2) ZPOEQU(1)
2
3
4
6 ZPOEQU - computes row and column scalings intended to equilibrate a
7 Hermitian positive definite matrix A and reduce its condition number
8 (with respect to the two-norm)
9
11 SUBROUTINE ZPOEQU( N, A, LDA, S, SCOND, AMAX, INFO )
12
13 INTEGER INFO, LDA, N
14
15 DOUBLE PRECISION AMAX, SCOND
16
17 DOUBLE PRECISION S( * )
18
19 COMPLEX*16 A( LDA, * )
20
22 ZPOEQU computes row and column scalings intended to equilibrate a Her‐
23 mitian positive definite matrix A and reduce its condition number (with
24 respect to the two-norm). S contains the scale factors, S(i) =
25 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j)
26 = S(i)*A(i,j)*S(j) has ones on the diagonal. This choice of S puts the
27 condition number of B within a factor N of the smallest possible condi‐
28 tion number over all possible diagonal scalings.
29
31 N (input) INTEGER
32 The order of the matrix A. N >= 0.
33
34 A (input) COMPLEX*16 array, dimension (LDA,N)
35 The N-by-N Hermitian positive definite matrix whose scaling
36 factors are to be computed. Only the diagonal elements of A
37 are referenced.
38
39 LDA (input) INTEGER
40 The leading dimension of the array A. LDA >= max(1,N).
41
42 S (output) DOUBLE PRECISION array, dimension (N)
43 If INFO = 0, S contains the scale factors for A.
44
45 SCOND (output) DOUBLE PRECISION
46 If INFO = 0, S contains the ratio of the smallest S(i) to the
47 largest S(i). If SCOND >= 0.1 and AMAX is neither too large
48 nor too small, it is not worth scaling by S.
49
50 AMAX (output) DOUBLE PRECISION
51 Absolute value of largest matrix element. If AMAX is very
52 close to overflow or very close to underflow, the matrix should
53 be scaled.
54
55 INFO (output) INTEGER
56 = 0: successful exit
57 < 0: if INFO = -i, the i-th argument had an illegal value
58 > 0: if INFO = i, the i-th diagonal element is nonpositive.
59
60
61
62 LAPACK routine (version 3.2) November 2008 ZPOEQU(1)