117 SUBROUTINE dppcon( UPLO, N, AP, ANORM, RCOND, WORK, IWORK, INFO )
126 DOUBLE PRECISION ANORM, RCOND
130 DOUBLE PRECISION AP( * ), WORK( * )
136 DOUBLE PRECISION ONE, ZERO
137 parameter( one = 1.0d+0, zero = 0.0d+0 )
143 DOUBLE PRECISION AINVNM, SCALE, SCALEL, SCALEU, SMLNUM
151 DOUBLE PRECISION DLAMCH
152 EXTERNAL lsame, idamax, dlamch
165 upper = lsame( uplo,
'U' )
166 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
168 ELSE IF( n.LT.0 )
THEN
170 ELSE IF( anorm.LT.zero )
THEN
174 CALL xerbla(
'DPPCON', -info )
184 ELSE IF( anorm.EQ.zero )
THEN
188 smlnum = dlamch(
'Safe minimum' )
195 CALL dlacn2( n, work( n+1 ), work, iwork, ainvnm, kase, isave )
201 CALL dlatps(
'Upper',
'Transpose',
'Non-unit', normin, n,
202 $ ap, work, scalel, work( 2*n+1 ), info )
207 CALL dlatps(
'Upper',
'No transpose',
'Non-unit', normin, n,
208 $ ap, work, scaleu, work( 2*n+1 ), info )
213 CALL dlatps( 'lower
', 'no transpose
', 'non-unit
', NORMIN, N,
214 $ AP, WORK, SCALEL, WORK( 2*N+1 ), INFO )
219 CALL DLATPS( 'lower
', 'transpose
', 'non-unit
', NORMIN, N,
220 $ AP, WORK, SCALEU, WORK( 2*N+1 ), INFO )
225 SCALE = SCALEL*SCALEU
226.NE.
IF( SCALEONE ) THEN
227 IX = IDAMAX( N, WORK, 1 )
228.LT..OR..EQ.
IF( SCALEABS( WORK( IX ) )*SMLNUM SCALEZERO )
230 CALL DRSCL( N, SCALE, WORK, 1 )
238 $ RCOND = ( ONE / AINVNM ) / ANORM
subroutine xerbla(srname, info)
XERBLA
subroutine drscl(n, sa, sx, incx)
DRSCL multiplies a vector by the reciprocal of a real scalar.
subroutine dlatps(uplo, trans, diag, normin, n, ap, x, scale, cnorm, info)
DLATPS solves a triangular system of equations with the matrix held in packed storage.
subroutine dlacn2(n, v, x, isgn, est, kase, isave)
DLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...
subroutine dppcon(uplo, n, ap, anorm, rcond, work, iwork, info)
DPPCON