125 SUBROUTINE csyt02( UPLO, N, NRHS, A, LDA, X, LDX, B, LDB, RWORK,
134 INTEGER LDA, LDB, LDX, N, NRHS
139 COMPLEX A( LDA, * ), B( LDB, * ), X( LDX, * )
146 parameter( zero = 0.0e+0, one = 1.0e+0 )
148 parameter( cone = ( 1.0e+0, 0.0e+0 ) )
152 REAL ANORM, BNORM, EPS, XNORM
155 REAL CLANSY, SCASUM, SLAMCH
156 EXTERNAL clansy, scasum, slamch
168 IF( n.LE.0 .OR. nrhs.LE.0 )
THEN
175 eps = slamch(
'Epsilon' )
176 anorm = clansy(
'1', uplo, n, a, lda, rwork )
177 IF( anorm.LE.zero )
THEN
184 CALL csymm(
'Left', uplo, n, nrhs, -cone, a, lda, x, ldx, cone, b,
192 bnorm = scasum( n, b( 1, j ), 1 )
193 xnorm = scasum( n, x( 1, j ), 1 )
194 IF( xnorm.LE.zero )
THEN
197 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