120 SUBROUTINE claev2( A, B, C, RT1, RT2, CS1, SN1 )
135 parameter( zero = 0.0e0 )
137 parameter( one = 1.0e0 )
147 INTRINSIC abs, conjg, real
151 IF( abs( b ).EQ.zero )
THEN
154 w = conjg( b ) / abs( b )
156 CALL slaev2( real( a ), abs( b ), real( c ), rt1, rt2, cs1, t )
subroutine claev2(a, b, c, rt1, rt2, cs1, sn1)
CLAEV2 computes the eigenvalues and eigenvectors of a 2-by-2 symmetric/Hermitian matrix.
subroutine slaev2(a, b, c, rt1, rt2, cs1, sn1)
SLAEV2 computes the eigenvalues and eigenvectors of a 2-by-2 symmetric/Hermitian matrix.