127 SUBROUTINE csyt02( UPLO, N, NRHS, A, LDA, X, LDX, B, LDB, RWORK,
137 INTEGER LDA, LDB, LDX, N, NRHS
142 COMPLEX A( lda, * ), B( ldb, * ), X( ldx, * )
149 parameter ( zero = 0.0e+0, one = 1.0e+0 )
151 parameter ( cone = ( 1.0e+0, 0.0e+0 ) )
155 REAL ANORM, BNORM, EPS, XNORM
158 REAL CLANSY, SCASUM, SLAMCH
159 EXTERNAL clansy, scasum, slamch
171 IF( n.LE.0 .OR. nrhs.LE.0 )
THEN
178 eps = slamch(
'Epsilon' )
179 anorm = clansy(
'1', uplo, n, a, lda, rwork )
180 IF( anorm.LE.zero )
THEN
187 CALL csymm(
'Left', uplo, n, nrhs, -cone, a, lda, x, ldx, cone, b,
195 bnorm = scasum( n, b( 1, j ), 1 )
196 xnorm = scasum( n, x( 1, j ), 1 )
197 IF( xnorm.LE.zero )
THEN
200 resid = max( resid, ( ( bnorm/anorm )/xnorm )/eps )
subroutine csyt02(UPLO, N, NRHS, A, LDA, X, LDX, B, LDB, RWORK, RESID)
CSYT02
subroutine csymm(SIDE, UPLO, M, N, ALPHA, A, LDA, B, LDB, BETA, C, LDC)
CSYMM