dorgr2 - generate an m by n real matrix Q with orthonormal rows,
SUBROUTINE DORGR2( M, N, K, A, LDA, TAU, WORK, INFO) INTEGER M, N, K, LDA, INFO DOUBLE PRECISION A(LDA,*), TAU(*), WORK(*)
SUBROUTINE DORGR2_64( M, N, K, A, LDA, TAU, WORK, INFO) INTEGER*8 M, N, K, LDA, INFO DOUBLE PRECISION A(LDA,*), TAU(*), WORK(*)
SUBROUTINE ORGR2( [M], [N], [K], A, [LDA], TAU, [WORK], [INFO]) INTEGER :: M, N, K, LDA, INFO REAL(8), DIMENSION(:) :: TAU, WORK REAL(8), DIMENSION(:,:) :: A
SUBROUTINE ORGR2_64( [M], [N], [K], A, [LDA], TAU, [WORK], [INFO]) INTEGER(8) :: M, N, K, LDA, INFO REAL(8), DIMENSION(:) :: TAU, WORK REAL(8), DIMENSION(:,:) :: A
#include <sunperf.h>
void dorgr2(int m, int n, int k, double *a, int lda, double *tau, int *info);
void dorgr2_64(long m, long n, long k, double *a, long lda, double *tau, long *info);
dorgr2 generates an m by n real matrix Q with orthonormal rows, which is defined as the last m rows of a product of k elementary reflectors of order n
Q = H(1) H(2) . . . H(k)
as returned by SGERQF.
TAU(i)
must contain the scalar factor of the elementary
reflector H(i), as returned by SGERQF.
dimension(M)
= 0: successful exit
< 0: if INFO = -i, the i-th argument has an illegal value