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 cpttrs(UPLO, N, NRHS, D, E, B, LDB, INFO)
CPTTRS
integer function ilaenv(ISPEC, NAME, OPTS, N1, N2, N3, N4)
ILAENV
subroutine cptts2(IUPLO, N, NRHS, D, E, B, LDB)
CPTTS2
subroutine xerbla(SRNAME, INFO)
XERBLA