1ZLAQGE(1) LAPACK auxiliary routine (version 3.2) ZLAQGE(1)
2
3
4
6 ZLAQGE - equilibrates a general M by N matrix A using the row and col‐
7 umn scaling factors in the vectors R and C
8
10 SUBROUTINE ZLAQGE( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX, EQUED )
11
12 CHARACTER EQUED
13
14 INTEGER LDA, M, N
15
16 DOUBLE PRECISION AMAX, COLCND, ROWCND
17
18 DOUBLE PRECISION C( * ), R( * )
19
20 COMPLEX*16 A( LDA, * )
21
23 ZLAQGE equilibrates a general M by N matrix A using the row and column
24 scaling factors in the vectors R and C.
25
27 M (input) INTEGER
28 The number of rows of the matrix A. M >= 0.
29
30 N (input) INTEGER
31 The number of columns of the matrix A. N >= 0.
32
33 A (input/output) COMPLEX*16 array, dimension (LDA,N)
34 On entry, the M by N matrix A. On exit, the equilibrated
35 matrix. See EQUED for the form of the equilibrated matrix.
36
37 LDA (input) INTEGER
38 The leading dimension of the array A. LDA >= max(M,1).
39
40 R (input) DOUBLE PRECISION array, dimension (M)
41 The row scale factors for A.
42
43 C (input) DOUBLE PRECISION array, dimension (N)
44 The column scale factors for A.
45
46 ROWCND (input) DOUBLE PRECISION
47 Ratio of the smallest R(i) to the largest R(i).
48
49 COLCND (input) DOUBLE PRECISION
50 Ratio of the smallest C(i) to the largest C(i).
51
52 AMAX (input) DOUBLE PRECISION
53 Absolute value of largest matrix entry.
54
55 EQUED (output) CHARACTER*1
56 Specifies the form of equilibration that was done. = 'N': No
57 equilibration
58 = 'R': Row equilibration, i.e., A has been premultiplied by
59 diag(R). = 'C': Column equilibration, i.e., A has been post‐
60 multiplied by diag(C). = 'B': Both row and column equilibra‐
61 tion, i.e., A has been replaced by diag(R) * A * diag(C).
62
64 THRESH is a threshold value used to decide if row or column scaling
65 should be done based on the ratio of the row or column scaling factors.
66 If ROWCND < THRESH, row scaling is done, and if COLCND < THRESH, column
67 scaling is done. LARGE and SMALL are threshold values used to decide
68 if row scaling should be done based on the absolute size of the largest
69 matrix element. If AMAX > LARGE or AMAX < SMALL, row scaling is done.
70
71
72
73 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 ZLAQGE(1)