163 SUBROUTINE sspsv( UPLO, N, NRHS, AP, IPIV, B, LDB, INFO )
172 INTEGER info, ldb, n, nrhs
176 REAL ap( * ), b( ldb, * )
196 IF( .NOT.
lsame( uplo,
'U' ) .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
198 ELSE IF( n.LT.0 )
THEN
200 ELSE IF( nrhs.LT.0 )
THEN
202 ELSE IF( ldb.LT.max( 1, n ) )
THEN
206 CALL
xerbla(
'SSPSV ', -info )
212 CALL
ssptrf( uplo, n, ap, ipiv, info )
217 CALL
ssptrs( uplo, n, nrhs, ap, ipiv, b, ldb, info )