122 SUBROUTINE cpttrs( UPLO, N, NRHS, D, E, B, LDB, INFO )
131 INTEGER INFO, LDB, N, NRHS
135 COMPLEX B( ldb, * ), E( * )
142 INTEGER IUPLO, J, JB, NB
159 upper = ( uplo.EQ.
'U' .OR. uplo.EQ.
'u' )
160 IF( .NOT.upper .AND. .NOT.( uplo.EQ.
'L' .OR. uplo.EQ.
'l' ) )
THEN
162 ELSE IF( n.LT.0 )
THEN
164 ELSE IF( nrhs.LT.0 )
THEN
166 ELSE IF( ldb.LT.max( 1, n ) )
THEN
170 CALL xerbla(
'CPTTRS', -info )
176 IF( n.EQ.0 .OR. nrhs.EQ.0 )
184 nb = max( 1, ilaenv( 1,
'CPTTRS', uplo, n, nrhs, -1, -1 ) )
195 IF( nb.GE.nrhs )
THEN
196 CALL cptts2( iuplo, n, nrhs, d, e, b, ldb )
198 DO 10 j = 1, nrhs, nb
199 jb = min( nrhs-j+1, nb )
200 CALL cptts2( iuplo, n, jb, d, e, b( 1, j ), ldb )
subroutine cptts2(IUPLO, N, NRHS, D, E, B, LDB)
CPTTS2 solves a tridiagonal system of the form AX=B using the L D LH factorization computed by spttrf...
subroutine cpttrs(UPLO, N, NRHS, D, E, B, LDB, INFO)
CPTTRS
subroutine xerbla(SRNAME, INFO)
XERBLA