144 SUBROUTINE sgtcon( NORM, N, DL, D, DU, DU2, IPIV, ANORM, RCOND,
145 $ WORK, IWORK, INFO )
157 INTEGER IPIV( * ), IWORK( * )
158 REAL D( * ), DL( * ), DU( * ), DU2( * ), WORK( * )
165 parameter( one = 1.0e+0, zero = 0.0e+0 )
169 INTEGER I, KASE, KASE1
187 onenrm = norm.EQ.
'1' .OR. lsame( norm,
'O' )
188 IF( .NOT.onenrm .AND. .NOT.lsame( norm,
'I' ) )
THEN
190 ELSE IF( n.LT.0 )
THEN
192 ELSE IF( anorm.LT.zero )
THEN
196 CALL xerbla(
'SGTCON', -info )
206 ELSE IF( anorm.EQ.zero )
THEN
225 CALL slacn2( n, work( n+1 ), work, iwork, ainvnm, kase, isave )
227 IF( kase.EQ.kase1 )
THEN
231 CALL sgttrs(
'No transpose', n, 1, dl, d, du, du2, ipiv,
237 CALL sgttrs(
'Transpose', n, 1, dl, d, du, du2, ipiv, work,
246 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine sgtcon(norm, n, dl, d, du, du2, ipiv, anorm, rcond, work, iwork, info)
SGTCON
subroutine sgttrs(trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)
SGTTRS
subroutine slacn2(n, v, x, isgn, est, kase, isave)
SLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...