ungl2#
Functions
-
void cungl2(const INT m, const INT n, const INT k, c64 *restrict A, const INT lda, const c64 *restrict tau, c64 *restrict work, INT *info)#
CUNGL2 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.
as returned by CGELQF.Q = H(k)**H . . . H(2)**H H(1)**H
Parameters
inmThe number of rows of the matrix Q. m >= 0.
innThe number of columns of the matrix Q. n >= m.
inkThe number of elementary reflectors whose product defines the matrix Q. m >= k >= 0.
inoutASingle complex array, dimension (lda, n). On entry, the i-th row must contain the vector which defines the elementary reflector H(i), for i = 0,1,…,k-1, as returned by CGELQF in the first k rows of its array argument A. On exit, the m by n matrix Q.
inldaThe first dimension of the array A. lda >= max(1, m).
intauSingle complex array, dimension (k). TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by CGELQF.
outworkSingle complex array, dimension (m).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void cungl2(
const INT m,
const INT n,
const INT k,
c64* restrict A,
const INT lda,
const c64* restrict tau,
c64* restrict work,
INT* info
);
Functions
-
void zungl2(const INT m, const INT n, const INT k, c128 *restrict A, const INT lda, const c128 *restrict tau, c128 *restrict work, INT *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.
as returned by ZGELQF.Q = H(k)**H . . . H(2)**H H(1)**H
Parameters
inmThe number of rows of the matrix Q. m >= 0.
innThe number of columns of the matrix Q. n >= m.
inkThe number of elementary reflectors whose product defines the matrix Q. m >= k >= 0.
inoutADouble complex array, dimension (lda, n). On entry, the i-th row must contain the vector which defines the elementary reflector H(i), for i = 0,1,…,k-1, as returned by ZGELQF in the first k rows of its array argument A. On exit, the m by n matrix Q.
inldaThe first dimension of the array A. lda >= max(1, m).
intauDouble complex array, dimension (k). TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by ZGELQF.
outworkDouble complex array, dimension (m).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void zungl2(
const INT m,
const INT n,
const INT k,
c128* restrict A,
const INT lda,
const c128* restrict tau,
c128* restrict work,
INT* info
);