104 SUBROUTINE clakf2( M, N, A, LDA, B, D, E, Z, LDZ )
111 INTEGER LDA, LDZ, M, N
114 COMPLEX A( LDA, * ), B( LDA, * ), D( LDA, * ),
115 $ E( LDA, * ), Z( LDZ, * )
122 parameter( zero = ( 0.0e+0, 0.0e+0 ) )
125 INTEGER I, IK, J, JK, L, MN, MN2
136 CALL claset(
'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 clakf2(m, n, a, lda, b, d, e, z, ldz)
CLAKF2
subroutine claset(uplo, m, n, alpha, beta, a, lda)
CLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values.