orgqr#
Functions
-
void sorgqr(const INT m, const INT n, const INT k, f32 *restrict A, const INT lda, const f32 *restrict tau, f32 *restrict work, const INT lwork, INT *info)#
SORGQR generates an M-by-N real matrix Q with orthonormal columns, which is defined as the first N columns of a product of K elementary reflectors of order M.
Q = H(0) H(1) … H(k-1)
as returned by SGEQRF.
This is the blocked Level 3 BLAS version of the algorithm.
Parameters
inmThe number of rows of Q. m >= 0.
innThe number of columns of Q. m >= n >= 0.
inkThe number of elementary reflectors whose product defines Q. n >= k >= 0.
inoutAOn entry, the i-th column must contain the vector which defines the elementary reflector H(i), for i = 0,1,…,k-1, as returned by SGEQRF. On exit, the m-by-n matrix Q.
inldaThe leading dimension of A. lda >= max(1, m).
intauArray of dimension (k). TAU(i) is the scalar factor of H(i), as returned by SGEQRF.
outworkWorkspace, dimension (max(1, lwork)). On exit, work[0] contains the optimal lwork.
inlworkDimension of work. lwork >= max(1, n). For optimal performance, lwork >= n*nb. If lwork == -1, workspace query only.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void sorgqr(
const INT m,
const INT n,
const INT k,
f32* restrict A,
const INT lda,
const f32* restrict tau,
f32* restrict work,
const INT lwork,
INT* info
);
Functions
-
void dorgqr(const INT m, const INT n, const INT k, f64 *restrict A, const INT lda, const f64 *restrict tau, f64 *restrict work, const INT lwork, INT *info)#
DORGQR generates an M-by-N real matrix Q with orthonormal columns, which is defined as the first N columns of a product of K elementary reflectors of order M.
Q = H(0) H(1) … H(k-1)
as returned by DGEQRF.
This is the blocked Level 3 BLAS version of the algorithm.
Parameters
inmThe number of rows of Q. m >= 0.
innThe number of columns of Q. m >= n >= 0.
inkThe number of elementary reflectors whose product defines Q. n >= k >= 0.
inoutAOn entry, the i-th column must contain the vector which defines the elementary reflector H(i), for i = 0,1,…,k-1, as returned by DGEQRF. On exit, the m-by-n matrix Q.
inldaThe leading dimension of A. lda >= max(1, m).
intauArray of dimension (k). TAU(i) is the scalar factor of H(i), as returned by DGEQRF.
outworkWorkspace, dimension (max(1, lwork)). On exit, work[0] contains the optimal lwork.
inlworkDimension of work. lwork >= max(1, n). For optimal performance, lwork >= n*nb. If lwork == -1, workspace query only.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void dorgqr(
const INT m,
const INT n,
const INT k,
f64* restrict A,
const INT lda,
const f64* restrict tau,
f64* restrict work,
const INT lwork,
INT* info
);