1SORG2L(1) LAPACK routine (version 3.2) SORG2L(1)
2
3
4
6 SORG2L - generates an m by n real matrix Q with orthonormal columns,
7
9 SUBROUTINE SORG2L( M, N, K, A, LDA, TAU, WORK, INFO )
10
11 INTEGER INFO, K, LDA, M, N
12
13 REAL A( LDA, * ), TAU( * ), WORK( * )
14
16 SORG2L generates an m by n real matrix Q with orthonormal columns,
17 which is defined as the last n columns of a product of k elementary
18 reflectors of order m
19 Q = H(k) . . . H(2) H(1)
20 as returned by SGEQLF.
21
23 M (input) INTEGER
24 The number of rows of the matrix Q. M >= 0.
25
26 N (input) INTEGER
27 The number of columns of the matrix Q. M >= N >= 0.
28
29 K (input) INTEGER
30 The number of elementary reflectors whose product defines the
31 matrix Q. N >= K >= 0.
32
33 A (input/output) REAL array, dimension (LDA,N)
34 On entry, the (n-k+i)-th column must contain the vector which
35 defines the elementary reflector H(i), for i = 1,2,...,k, as
36 returned by SGEQLF in the last k columns of its array argument
37 A. On exit, the m by n matrix Q.
38
39 LDA (input) INTEGER
40 The first dimension of the array A. LDA >= max(1,M).
41
42 TAU (input) REAL array, dimension (K)
43 TAU(i) must contain the scalar factor of the elementary reflecā
44 tor H(i), as returned by SGEQLF.
45
46 WORK (workspace) REAL array, dimension (N)
47
48 INFO (output) INTEGER
49 = 0: successful exit
50 < 0: if INFO = -i, the i-th argument has an illegal value
51
52
53
54 LAPACK routine (version 3.2) November 2008 SORG2L(1)