104 SUBROUTINE dlakf2( M, N, A, LDA, B, D, E, Z, LDZ )
111 INTEGER LDA, LDZ, M, N
114 DOUBLE PRECISION A( LDA, * ), B( LDA, * ), D( LDA, * ),
115 $ E( LDA, * ), Z( LDZ, * )
121 DOUBLE PRECISION ZERO
122 parameter( zero = 0.0d+0 )
125 INTEGER I, IK, J, JK, L, MN, MN2
136 CALL dlaset(
'Full', mn2, mn2, zero, zero, z, ldz )
145 z( ik+i-1, ik+j-1 ) = a( i, j )
153 z( ik+mn+i-1, ik+j-1 ) = d( i, j )
169 z( ik+i-1, jk+i-1 ) = -b( j, l )
175 z( ik+mn+i-1, jk+i-1 ) = -e( j, l )
subroutine dlakf2(m, n, a, lda, b, d, e, z, ldz)
DLAKF2
subroutine dlaset(uplo, m, n, alpha, beta, a, lda)
DLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values.