1DPOEQU(1)                LAPACK routine (version 3.1)                DPOEQU(1)
2
3
4

NAME

6       DPOEQU  -  row  and column scalings intended to equilibrate a symmetric
7       positive definite matrix  A  and  reduce  its  condition  number  (with
8       respect to the two-norm)
9

SYNOPSIS

11       SUBROUTINE DPOEQU( N, A, LDA, S, SCOND, AMAX, INFO )
12
13           INTEGER        INFO, LDA, N
14
15           DOUBLE         PRECISION AMAX, SCOND
16
17           DOUBLE         PRECISION A( LDA, * ), S( * )
18

PURPOSE

20       DPOEQU  computes row and column scalings intended to equilibrate a sym‐
21       metric positive definite matrix A and reduce its condition number (with
22       respect  to  the  two-norm).   S  contains  the  scale  factors, S(i) =
23       1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j)
24       = S(i)*A(i,j)*S(j) has ones on the diagonal.  This choice of S puts the
25       condition number of B within a factor N of the smallest possible condi‐
26       tion number over all possible diagonal scalings.
27
28

ARGUMENTS

30       N       (input) INTEGER
31               The order of the matrix A.  N >= 0.
32
33       A       (input) DOUBLE PRECISION array, dimension (LDA,N)
34               The  N-by-N  symmetric  positive  definite matrix whose scaling
35               factors are to be computed.  Only the diagonal  elements  of  A
36               are referenced.
37
38       LDA     (input) INTEGER
39               The leading dimension of the array A.  LDA >= max(1,N).
40
41       S       (output) DOUBLE PRECISION array, dimension (N)
42               If INFO = 0, S contains the scale factors for A.
43
44       SCOND   (output) DOUBLE PRECISION
45               If  INFO  = 0, S contains the ratio of the smallest S(i) to the
46               largest S(i).  If SCOND >= 0.1 and AMAX is  neither  too  large
47               nor too small, it is not worth scaling by S.
48
49       AMAX    (output) DOUBLE PRECISION
50               Absolute  value  of  largest  matrix  element.  If AMAX is very
51               close to overflow or very close to underflow, the matrix should
52               be scaled.
53
54       INFO    (output) INTEGER
55               = 0:  successful exit
56               < 0:  if INFO = -i, the i-th argument had an illegal value
57               > 0:  if INFO = i, the i-th diagonal element is nonpositive.
58
59
60
61 LAPACK routine (version 3.1)    November 2006                       DPOEQU(1)
Impressum