229 SUBROUTINE zlarot( LROWS, LLEFT, LRIGHT, NL, C, S, A, LDA, XLEFT,
238 LOGICAL lleft, lright, lrows
240 COMPLEX*16 c, s, xleft, xright
249 INTEGER iinc, inext, ix, iy, iyt, j, nt
253 COMPLEX*16 xt( 2 ), yt( 2 )
286 iyt = 1 + inext + ( nl-1 )*iinc
295 CALL
xerbla(
'ZLAROT', 4 )
298 IF( lda.LE.0 .OR. ( .NOT.lrows .AND. lda.LT.nl-nt ) )
THEN
299 CALL
xerbla(
'ZLAROT', 8 )
307 DO 10 j = 0, nl - nt - 1
308 tempx = c*a( ix+j*iinc ) + s*a( iy+j*iinc )
309 a( iy+j*iinc ) = -dconjg( s )*a( ix+j*iinc ) +
310 $ dconjg( c )*a( iy+j*iinc )
311 a( ix+j*iinc ) = tempx
317 tempx = c*xt( j ) + s*yt( j )
318 yt( j ) = -dconjg( s )*xt( j ) + dconjg( c )*yt( j )