version 1.1, 2010/01/26 15:22:46
|
version 1.8, 2011/07/22 07:38:10
|
Line 1
|
Line 1
|
SUBROUTINE DSPGST( ITYPE, UPLO, N, AP, BP, INFO ) |
SUBROUTINE DSPGST( ITYPE, UPLO, N, AP, BP, INFO ) |
* |
* |
* -- LAPACK routine (version 3.2) -- |
* -- LAPACK routine (version 3.3.1) -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* November 2006 |
* -- April 2011 -- |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER UPLO |
CHARACTER UPLO |
Line 102
|
Line 102
|
IF( ITYPE.EQ.1 ) THEN |
IF( ITYPE.EQ.1 ) THEN |
IF( UPPER ) THEN |
IF( UPPER ) THEN |
* |
* |
* Compute inv(U')*A*inv(U) |
* Compute inv(U**T)*A*inv(U) |
* |
* |
* J1 and JJ are the indices of A(1,j) and A(j,j) |
* J1 and JJ are the indices of A(1,j) and A(j,j) |
* |
* |
Line 124
|
Line 124
|
10 CONTINUE |
10 CONTINUE |
ELSE |
ELSE |
* |
* |
* Compute inv(L)*A*inv(L') |
* Compute inv(L)*A*inv(L**T) |
* |
* |
* KK and K1K1 are the indices of A(k,k) and A(k+1,k+1) |
* KK and K1K1 are the indices of A(k,k) and A(k+1,k+1) |
* |
* |
Line 154
|
Line 154
|
ELSE |
ELSE |
IF( UPPER ) THEN |
IF( UPPER ) THEN |
* |
* |
* Compute U*A*U' |
* Compute U*A*U**T |
* |
* |
* K1 and KK are the indices of A(1,k) and A(k,k) |
* K1 and KK are the indices of A(1,k) and A(k,k) |
* |
* |
Line 179
|
Line 179
|
30 CONTINUE |
30 CONTINUE |
ELSE |
ELSE |
* |
* |
* Compute L'*A*L |
* Compute L**T *A*L |
* |
* |
* JJ and J1J1 are the indices of A(j,j) and A(j+1,j+1) |
* JJ and J1J1 are the indices of A(j,j) and A(j+1,j+1) |
* |
* |