1CLAQHB(1)           LAPACK auxiliary routine (version 3.2)           CLAQHB(1)
2
3
4

NAME

6       CLAQHB - equilibrates an Hermitian band matrix A using the scaling fac‐
7       tors in the vector S
8

SYNOPSIS

10       SUBROUTINE CLAQHB( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
11
12           CHARACTER      EQUED, UPLO
13
14           INTEGER        KD, LDAB, N
15
16           REAL           AMAX, SCOND
17
18           REAL           S( * )
19
20           COMPLEX        AB( LDAB, * )
21

PURPOSE

23       CLAQHB equilibrates an Hermitian band matrix A using the  scaling  fac‐
24       tors in the vector S.
25

ARGUMENTS

27       UPLO    (input) CHARACTER*1
28               Specifies  whether  the  upper  or lower triangular part of the
29               symmetric matrix A is stored.  = 'U':  Upper triangular
30               = 'L':  Lower triangular
31
32       N       (input) INTEGER
33               The order of the matrix A.  N >= 0.
34
35       KD      (input) INTEGER
36               The number of super-diagonals of the matrix A if UPLO = 'U', or
37               the number of sub-diagonals if UPLO = 'L'.  KD >= 0.
38
39       AB      (input/output) COMPLEX array, dimension (LDAB,N)
40               On  entry,  the  upper  or lower triangle of the symmetric band
41               matrix A, stored in the first KD+1 rows of the array.  The j-th
42               column  of  A  is  stored in the j-th column of the array AB as
43               follows: if UPLO = 'U', AB(kd+1+i-j,j) =  A(i,j)  for  max(1,j-
44               kd)<=i<=j;   if   UPLO  =  'L',  AB(1+i-j,j)     =  A(i,j)  for
45               j<=i<=min(n,j+kd).  On exit, if INFO = 0, the triangular factor
46               U  or L from the Cholesky factorization A = U'*U or A = L*L' of
47               the band matrix A, in the same storage format as A.
48
49       LDAB    (input) INTEGER
50               The leading dimension of the array AB.  LDAB >= KD+1.
51
52       S       (output) REAL array, dimension (N)
53               The scale factors for A.
54
55       SCOND   (input) REAL
56               Ratio of the smallest S(i) to the largest S(i).
57
58       AMAX    (input) REAL
59               Absolute value of largest matrix entry.
60
61       EQUED   (output) CHARACTER*1
62               Specifies whether or not equilibration was done.   =  'N':   No
63               equilibration.
64               =  'Y':   Equilibration  was done, i.e., A has been replaced by
65               diag(S) * A * diag(S).
66

PARAMETERS

68       THRESH is a threshold value used to decide if scaling  should  be  done
69       based  on the ratio of the scaling factors.  If SCOND < THRESH, scaling
70       is done.  LARGE and SMALL are threshold values used to decide if  scal‐
71       ing  should  be  done  based on the absolute size of the largest matrix
72       element.  If AMAX > LARGE or AMAX < SMALL, scaling is done.
73
74
75
76 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008                       CLAQHB(1)
Impressum