99 DOUBLE PRECISION FUNCTION dqrt11( M, K, A, LDA, TAU, WORK, LWORK )
107 INTEGER k, lda, lwork, m
110 DOUBLE PRECISION a( lda, * ), tau( * ), work( lwork )
116 DOUBLE PRECISION zero, one
117 parameter( zero = 0.0d0, one = 1.0d0 )
133 DOUBLE PRECISION rdummy( 1 )
141 IF( lwork.LT.m*m+m )
THEN
142 CALL
xerbla(
'DQRT11', 7 )
151 CALL
dlaset(
'Full', m, m, zero, one, work, m )
155 CALL
dorm2r(
'Left',
'No transpose', m, m, k, a, lda, tau, work,
156 $ m, work( m*m+1 ), info )
160 CALL
dorm2r(
'Left',
'Transpose', m, m, k, a, lda, tau, work, m,
161 $ work( m*m+1 ), info )
164 work( ( j-1 )*m+j ) = work( ( j-1 )*m+j ) - one
168 $ ( dble( m )*
dlamch(
'Epsilon' ) )