scipy.linalg.lapack.sgerqf#

scipy.linalg.lapack.sgerqf(a, lwork=``3 * m``, overwrite_a=0) = <flapack function sgerqf>#

Compute an RQ factorization a = r @ q (LAPACK sgerqf).

Parameters:
andarray

Matrix of shape (m, n).

lworkint, optional

Size of the workspace. Default is 3 * m. Use the value reported in work[0] for the optimal value.

overwrite_aint, optional

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

Returns:
qrndarray

R on and above the (m - n)-th subdiagonal; elsewhere, the reflectors that define Q.

taundarray

Scalar factors of the elementary reflectors that define Q.

workndarray

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

infoint

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