scipy.linalg.lapack.sorgqr#

scipy.linalg.lapack.sorgqr(a, tau, lwork=3 * n, overwrite_a=0) = <flapack function sorgqr>#

Generate the orthogonal/unitary factor Q of a QR factorization (LAPACK sorgqr).

Parameters:
andarray

The factorization the matching geqrf returned.

taundarray

Reflector scalars from the matching factorization.

lworkint, optional

Workspace size, at least n; -1 requests the query. Default is 3 * n.

overwrite_aint, optional

If nonzero, a may be overwritten in place. Default is 0.

Returns:
qndarray

The factor Q, overwriting a.

workndarray

Workspace actually used; work[0] is the optimal lwork.

infoint

0 on success; if negative, the -info-th argument had an illegal value.