97 SUBROUTINE clapll( N, X, INCX, Y, INCY, SSMIN )
104 INTEGER INCX, INCY, N
108 COMPLEX X( * ), Y( * )
115 parameter( zero = 0.0e+0 )
117 parameter( cone = ( 1.0e+0, 0.0e+0 ) )
121 COMPLEX A11, A12, A22, C, TAU
144 CALL clarfg( n, x( 1 ), x( 1+incx ), incx, tau )
148 c = -conjg( tau )*cdotc( n, x, incx, y, incy )
149 CALL caxpy( n, c, x, incx, y, incy )
151 CALL clarfg( n-1, y( 1+incy ), y( 1+2*incy ), incy, tau )
158 CALL slas2( abs( a11 ), abs( a12 ), abs( a22 ), ssmin, ssmax )
subroutine clapll(n, x, incx, y, incy, ssmin)
CLAPLL measures the linear dependence of two vectors.
subroutine clarfg(n, alpha, x, incx, tau)
CLARFG generates an elementary reflector (Householder matrix).
subroutine slas2(f, g, h, ssmin, ssmax)
SLAS2 computes singular values of a 2-by-2 triangular matrix.