zungl2 - generate an m-by-n complex matrix Q with orthonormal rows,
SUBROUTINE ZUNGL2( M, N, K, A, LDA, TAU, WORK, INFO) DOUBLE COMPLEX A(LDA,*), TAU(*), WORK(*) INTEGER M, N, K, LDA, INFO
SUBROUTINE ZUNGL2_64( M, N, K, A, LDA, TAU, WORK, INFO) DOUBLE COMPLEX A(LDA,*), TAU(*), WORK(*) INTEGER*8 M, N, K, LDA, INFO
SUBROUTINE UNGL2( [M], [N], [K], A, [LDA], TAU, [WORK], [INFO]) COMPLEX(8), DIMENSION(:) :: TAU, WORK COMPLEX(8), DIMENSION(:,:) :: A INTEGER :: M, N, K, LDA, INFO
SUBROUTINE UNGL2_64( [M], [N], [K], A, [LDA], TAU, [WORK], [INFO]) COMPLEX(8), DIMENSION(:) :: TAU, WORK COMPLEX(8), DIMENSION(:,:) :: A INTEGER(8) :: M, N, K, LDA, INFO
#include <sunperf.h>
void zungl2(int m, int n, int k, doublecomplex *a, int lda, doublecomplex *tau, int *info);
void zungl2_64(long m, long n, long k, doublecomplex *a, long lda, doublecomplex *tau, long *info);
zungl2 generates an m-by-n complex matrix Q with orthonormal rows, which is defined as the first m rows of a product of k elementary reflectors of order n
Q = H(k)' . . . H(2)' H(1)'
as returned by CGELQF.
TAU(i)
must contain the scalar factor of the elementary
reflector H(i), as returned by CGELQF.
dimension(M)
= 0: successful exit
< 0: if INFO = -i, the i-th argument has an illegal value