1 SUBROUTINE zlarot( LROWS, LLEFT, LRIGHT, NL, C, S, A, LDA, XLEFT,
9 LOGICAL LLEFT, LRIGHT, LROWS
11 COMPLEX*16 C, S, XLEFT, XRIGHT
208 INTEGER IINC, INEXT, IX, IY, IYT, J, NT
212 COMPLEX*16 XT( 2 ), YT( 2 )
245 iyt = 1 + inext + ( nl-1 )*iinc
254 CALL xerbla(
'ZLAROT', 4 )
257 IF( lda.LE.0 .OR. ( .NOT.lrows .AND. lda.LT.nl-nt ) )
THEN
258 CALL xerbla(
'ZLAROT', 8 )
266 DO 10 j = 0, nl - nt - 1
267 tempx = c*a( ix+j*iinc ) + s*a( iy+j*iinc )
268 a( iy+j*iinc ) = -dconjg( s )*a( ix+j*iinc ) +
269 $ dconjg( c )*a( iy+j*iinc )
270 a( ix+j*iinc ) = tempx
276 tempx = c*xt( j ) + s*yt( j )
277 yt( j ) = -dconjg( s )*xt( j ) + dconjg( c )*yt( j )