128 SUBROUTINE dgebak( JOB, SIDE, N, ILO, IHI, SCALE, M, V, LDV,
137 INTEGER IHI, ILO, INFO, LDV, M, N
140 DOUBLE PRECISION SCALE( * ), V( LDV, * )
147 parameter( one = 1.0d+0 )
150 LOGICAL LEFTV, RIGHTV
168 rightv = lsame( side,
'R' )
169 leftv = lsame( side,
'L' )
172 IF( .NOT.lsame( job,
'N' ) .AND. .NOT.lsame( job,
'P' ) .AND.
173 $ .NOT.lsame( job,
'S' ) .AND. .NOT.lsame( job,
'B' ) )
THEN
175 ELSE IF( .NOT.rightv .AND. .NOT.leftv )
THEN
177 ELSE IF( n.LT.0 )
THEN
179 ELSE IF( ilo.LT.1 .OR. ilo.GT.max( 1, n ) )
THEN
181 ELSE IF( ihi.LT.min( ilo, n ) .OR. ihi.GT.n )
THEN
183 ELSE IF( m.LT.0 )
THEN
185 ELSE IF( ldv.LT.max( 1, n ) )
THEN
189 CALL xerbla(
'DGEBAK', -info )
199 IF( lsame( job,
'N' ) )
207 IF( lsame( job,
'S' ) .OR. lsame( job,
'B' ) )
THEN
212 CALL dscal( m, s, v( i, 1 ), ldv )
219 CALL dscal( m, s, v( i, 1 ), ldv )
231 IF( lsame( job,
'P' ) .OR. lsame( job,
'B' ) )
THEN
235 IF( i.GE.ilo .AND. i.LE.ihi )
239 k = int( scale( i ) )
242 CALL dswap( m, v( i, 1 ), ldv, v( k, 1 ), ldv )
249 IF( i.GE.ilo .AND. i.LE.ihi )
253 k = int( scale( i ) )
256 CALL dswap( m, v( i, 1 ), ldv, v( k, 1 ), ldv )
subroutine xerbla(srname, info)
subroutine dgebak(job, side, n, ilo, ihi, scale, m, v, ldv, info)
DGEBAK
subroutine dscal(n, da, dx, incx)
DSCAL
subroutine dswap(n, dx, incx, dy, incy)
DSWAP