1 SUBROUTINE clarot( LROWS, LLEFT, LRIGHT, NL, C, S, A, LDA, XLEFT,
9 LOGICAL LLEFT, LRIGHT, LROWS
11 COMPLEX C, S, XLEFT, XRIGHT
208 INTEGER IINC, INEXT, IX, IY, IYT, J, NT
212 COMPLEX XT( 2 ), YT( 2 )
245 iyt = 1 + inext + ( nl-1 )*iinc
254 CALL xerbla(
'CLAROT', 4 )
257 IF( lda.LE.0 .OR. ( .NOT.lrows .AND. lda.LT.nl-nt ) )
THEN
258 CALL xerbla(
'CLAROT', 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 ) = -conjg( s )*a( ix+j*iinc ) +
269 $ conjg( c )*a( iy+j*iinc )
270 a( ix+j*iinc ) = tempx
276 tempx = c*xt( j ) + s*yt( j )
277 yt( j ) = -conjg( s )*xt( j ) + conjg( c )*yt( j )