bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / cgeqp3
lapack_function
scipy.linalg._flapack:cgeqp3
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Compute a QR factorization with column pivoting (LAPACK cgeqp3).
Parameters
a: ndarrayMatrix of shape
(m, n).lwork: int, optionalSize of the workspace. Default is
3 * (n + 1). Usethe value reported in work[0]for the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
qr: ndarrayRin the upper triangle; below it, the reflectors that defineQ.jpvt: ndarrayColumn pivots, 1-based as LAPACK numbers them: column
jpvt[i] - 1of a became columniofa @ p.tau: ndarrayScalar factors of the elementary reflectors that define
Q.work: ndarrayWorkspace actually used;
work[0]is the optimal lwork.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.cgeqp3