120 SUBROUTINE zlaev2( A, B, C, RT1, RT2, CS1, SN1 )
127 DOUBLE PRECISION CS1, RT1, RT2
128 COMPLEX*16 A, B, C, SN1
134 DOUBLE PRECISION ZERO
135 parameter( zero = 0.0d0 )
137 parameter( one = 1.0d0 )
147 INTRINSIC abs, dble, dconjg
151 IF( abs( b ).EQ.zero )
THEN
154 w = dconjg( b ) / abs( b )
156 CALL dlaev2( dble( a ), abs( b ), dble( c ), rt1, rt2, cs1, t )
subroutine zlaev2(a, b, c, rt1, rt2, cs1, sn1)
ZLAEV2 computes the eigenvalues and eigenvectors of a 2-by-2 symmetric/Hermitian matrix.
subroutine dlaev2(a, b, c, rt1, rt2, cs1, sn1)
DLAEV2 computes the eigenvalues and eigenvectors of a 2-by-2 symmetric/Hermitian matrix.