1SSBTRD(1) LAPACK routine (version 3.2) SSBTRD(1)
2
3
4
6 SSBTRD - reduces a real symmetric band matrix A to symmetric tridiago‐
7 nal form T by an orthogonal similarity transformation
8
10 SUBROUTINE SSBTRD( VECT, UPLO, N, KD, AB, LDAB, D, E, Q, LDQ, WORK,
11 INFO )
12
13 CHARACTER UPLO, VECT
14
15 INTEGER INFO, KD, LDAB, LDQ, N
16
17 REAL AB( LDAB, * ), D( * ), E( * ), Q( LDQ, * ), WORK( *
18 )
19
21 SSBTRD reduces a real symmetric band matrix A to symmetric tridiagonal
22 form T by an orthogonal similarity transformation: Q**T * A * Q = T.
23
25 VECT (input) CHARACTER*1
26 = 'N': do not form Q;
27 = 'V': form Q;
28 = 'U': update a matrix X, by forming X*Q.
29
30 UPLO (input) CHARACTER*1
31 = 'U': Upper triangle of A is stored;
32 = 'L': Lower triangle of A is stored.
33
34 N (input) INTEGER
35 The order of the matrix A. N >= 0.
36
37 KD (input) INTEGER
38 The number of superdiagonals of the matrix A if UPLO = 'U', or
39 the number of subdiagonals if UPLO = 'L'. KD >= 0.
40
41 AB (input/output) REAL array, dimension (LDAB,N)
42 On entry, the upper or lower triangle of the symmetric band
43 matrix A, stored in the first KD+1 rows of the array. The j-th
44 column of A is stored in the j-th column of the array AB as
45 follows: if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-
46 kd)<=i<=j; if UPLO = 'L', AB(1+i-j,j) = A(i,j) for
47 j<=i<=min(n,j+kd). On exit, the diagonal elements of AB are
48 overwritten by the diagonal elements of the tridiagonal matrix
49 T; if KD > 0, the elements on the first superdiagonal (if UPLO
50 = 'U') or the first subdiagonal (if UPLO = 'L') are overwritten
51 by the off-diagonal elements of T; the rest of AB is overwrit‐
52 ten by values generated during the reduction.
53
54 LDAB (input) INTEGER
55 The leading dimension of the array AB. LDAB >= KD+1.
56
57 D (output) REAL array, dimension (N)
58 The diagonal elements of the tridiagonal matrix T.
59
60 E (output) REAL array, dimension (N-1)
61 The off-diagonal elements of the tridiagonal matrix T: E(i) =
62 T(i,i+1) if UPLO = 'U'; E(i) = T(i+1,i) if UPLO = 'L'.
63
64 Q (input/output) REAL array, dimension (LDQ,N)
65 On entry, if VECT = 'U', then Q must contain an N-by-N matrix
66 X; if VECT = 'N' or 'V', then Q need not be set. On exit: if
67 VECT = 'V', Q contains the N-by-N orthogonal matrix Q; if VECT
68 = 'U', Q contains the product X*Q; if VECT = 'N', the array Q
69 is not referenced.
70
71 LDQ (input) INTEGER
72 The leading dimension of the array Q. LDQ >= 1, and LDQ >= N
73 if VECT = 'V' or 'U'.
74
75 WORK (workspace) REAL array, dimension (N)
76
77 INFO (output) INTEGER
78 = 0: successful exit
79 < 0: if INFO = -i, the i-th argument had an illegal value
80
82 Modified by Linda Kaufman, Bell Labs.
83
84
85
86 LAPACK routine (version 3.2) November 2008 SSBTRD(1)