97 SUBROUTINE zlapll( N, X, INCX, Y, INCY, SSMIN )
104 INTEGER INCX, INCY, N
105 DOUBLE PRECISION SSMIN
108 COMPLEX*16 X( * ), Y( * )
114 DOUBLE PRECISION ZERO
115 parameter( zero = 0.0d+0 )
117 parameter( cone = ( 1.0d+0, 0.0d+0 ) )
120 DOUBLE PRECISION SSMAX
121 COMPLEX*16 A11, A12, A22, C, TAU
124 INTRINSIC abs, dconjg
144 CALL zlarfg( n, x( 1 ), x( 1+incx ), incx, tau )
148 c = -dconjg( tau )*zdotc( n, x, incx, y, incy )
149 CALL zaxpy( n, c, x, incx, y, incy )
151 CALL zlarfg( n-1, y( 1+incy ), y( 1+2*incy ), incy, tau )
158 CALL dlas2( abs( a11 ), abs( a12 ), abs( a22 ), ssmin, ssmax )
subroutine zlapll(n, x, incx, y, incy, ssmin)
ZLAPLL measures the linear dependence of two vectors.
subroutine zlarfg(n, alpha, x, incx, tau)
ZLARFG generates an elementary reflector (Householder matrix).
subroutine dlas2(f, g, h, ssmin, ssmax)
DLAS2 computes singular values of a 2-by-2 triangular matrix.