1DORGR2(1)                LAPACK routine (version 3.2)                DORGR2(1)
2
3
4

NAME

6       DORGR2 - generates an m by n real matrix Q with orthonormal rows,
7

SYNOPSIS

9       SUBROUTINE DORGR2( M, N, K, A, LDA, TAU, WORK, INFO )
10
11           INTEGER        INFO, K, LDA, M, N
12
13           DOUBLE         PRECISION A( LDA, * ), TAU( * ), WORK( * )
14

PURPOSE

16       DORGR2  generates  an m by n real matrix Q with orthonormal rows, which
17       is defined as the last m rows of a product of k  elementary  reflectors
18       of order n
19             Q  =  H(1) H(2) . . . H(k)
20       as returned by DGERQF.
21

ARGUMENTS

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. N >= M.
28
29       K       (input) INTEGER
30               The  number  of elementary reflectors whose product defines the
31               matrix Q. M >= K >= 0.
32
33       A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
34               On entry, the (m-k+i)-th row  must  contain  the  vector  which
35               defines  the  elementary  reflector H(i), for i = 1,2,...,k, as
36               returned by DGERQF in the last k rows of its array argument  A.
37               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) DOUBLE PRECISION array, dimension (K)
43               TAU(i) must contain the scalar factor of the elementary reflecā€
44               tor H(i), as returned by DGERQF.
45
46       WORK    (workspace) DOUBLE PRECISION array, dimension (M)
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                       DORGR2(1)
Impressum