This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / cgeqrfp

lapack_function

scipy.linalg._flapack:cgeqrfp

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Summary

Compute a QR factorization whose R has a nonnegative diagonal (LAPACK cgeqrfp).

Parameters

a : ndarray

Matrix of shape (m, n).

lwork : int, optional

Size of the workspace. Default is max(1, n). Use geqrfp_lwork for the optimal value.

overwrite_a : int, optional

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

Returns

qr : ndarray

R in the upper triangle, with diag(R) >= 0; below it, the reflectors that define Q.

tau : ndarray

Scalar factors of the elementary reflectors that define Q.

info : int

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

Aliases

  • scipy.linalg._flapack.cgeqrfp