1 SUBROUTINE dorg2r( M, N, K, A, LDA, TAU, WORK, INFO )
9 INTEGER INFO, K, LDA, M, N
12 DOUBLE PRECISION A( LDA, * ), TAU( * ), WORK( * )
62 DOUBLE PRECISION ONE, ZERO
63 parameter( one = 1.0d+0, zero = 0.0d+0 )
81 ELSE IF( n.LT.0 .OR. n.GT.m )
THEN
83 ELSE IF( k.LT.0 .OR. k.GT.n )
THEN
85 ELSE IF( lda.LT.max( 1, m ) )
THEN
89 CALL xerbla(
'DORG2R', -info )
113 CALL dlarf(
'Left', m-i+1, n-i, a( i, i ), 1, tau( i ),
114 $ a( i, i+1 ), lda, work )
117 $
CALL dscal( m-i, -tau( i ), a( i+1, i ), 1 )
118 a( i, i ) = one - tau( i )
subroutine dlarf(SIDE, M, N, V, INCV, TAU, C, LDC, WORK)
subroutine dorg2r(M, N, K, A, LDA, TAU, WORK, INFO)
subroutine dscal(n, da, dx, incx)
subroutine xerbla(SRNAME, INFO)