1SLAPLL(1) LAPACK auxiliary routine (version 3.2) SLAPLL(1)
2
3
4
6 SLAPLL - two column vectors X and Y, let A = ( X Y )
7
9 SUBROUTINE SLAPLL( N, X, INCX, Y, INCY, SSMIN )
10
11 INTEGER INCX, INCY, N
12
13 REAL SSMIN
14
15 REAL X( * ), Y( * )
16
18 Given two column vectors X and Y, let The subroutine first computes the
19 QR factorization of A = Q*R, and then computes the SVD of the 2-by-2
20 upper triangular matrix R. The smaller singular value of R is returned
21 in SSMIN, which is used as the measurement of the linear dependency of
22 the vectors X and Y.
23
25 N (input) INTEGER
26 The length of the vectors X and Y.
27
28 X (input/output) REAL array,
29 dimension (1+(N-1)*INCX) On entry, X contains the N-vector X.
30 On exit, X is overwritten.
31
32 INCX (input) INTEGER
33 The increment between successive elements of X. INCX > 0.
34
35 Y (input/output) REAL array,
36 dimension (1+(N-1)*INCY) On entry, Y contains the N-vector Y.
37 On exit, Y is overwritten.
38
39 INCY (input) INTEGER
40 The increment between successive elements of Y. INCY > 0.
41
42 SSMIN (output) REAL
43 The smallest singular value of the N-by-2 matrix A = ( X Y ).
44
45
46
47 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 SLAPLL(1)