91 REAL FUNCTION srzt02( M, N, AF, LDA, TAU, WORK,
100 INTEGER lda, lwork, m, n
103 REAL af( lda, * ), tau( * ), work( lwork )
110 parameter( zero = 0.0e+0, one = 1.0e+0 )
132 IF( lwork.LT.n*n+n )
THEN
133 CALL
xerbla(
'SRZT02', 7 )
139 IF( m.LE.0 .OR. n.LE.0 )
144 CALL
slaset(
'Full', n, n, zero, one, work, n )
148 CALL
sormrz(
'Left',
'No transpose', n, n, m, n-m, af, lda, tau,
149 $ work, n, work( n*n+1 ), lwork-n*n, info )
153 CALL
sormrz(
'Left',
'Transpose', n, n, m, n-m, af, lda, tau,
154 $ work, n, work( n*n+1 ), lwork-n*n, info )
159 work( ( i-1 )*n+i ) = work( ( i-1 )*n+i ) - one
163 $ (
slamch(
'Epsilon' )*
REAL( MAX( M, N ) ) )