182 SUBROUTINE clarzt( DIRECT, STOREV, N, K, V, LDV, TAU, T, LDT )
189 CHARACTER DIRECT, STOREV
190 INTEGER K, LDT, LDV, N
193 COMPLEX T( LDT, * ), TAU( * ), V( LDV, * )
200 parameter( zero = ( 0.0e+0, 0.0e+0 ) )
217 IF( .NOT.lsame( direct,
'B' ) )
THEN
219 ELSE IF( .NOT.lsame( storev,
'R' ) )
THEN
223 CALL xerbla(
'CLARZT', -info )
228 IF( tau( i ).EQ.zero )
THEN
243 CALL clacgv( n, v( i, 1 ), ldv )
244 CALL cgemv(
'No transpose', k-i, n, -tau( i ),
245 $ v( i+1, 1 ), ldv, v( i, 1 ), ldv, zero,
247 CALL clacgv( n, v( i, 1 ), ldv )
251 CALL ctrmv(
'Lower',
'No transpose',
'Non-unit', k-i,
252 $ t( i+1, i+1 ), ldt, t( i+1, i ), 1 )
subroutine xerbla(srname, info)
subroutine cgemv(trans, m, n, alpha, a, lda, x, incx, beta, y, incy)
CGEMV
subroutine clacgv(n, x, incx)
CLACGV conjugates a complex vector.
subroutine clarzt(direct, storev, n, k, v, ldv, tau, t, ldt)
CLARZT forms the triangular factor T of a block reflector H = I - vtvH.
subroutine ctrmv(uplo, trans, diag, n, a, lda, x, incx)
CTRMV