bundles / scipy latest / scipy / linalg / _flapack / dgetrf
lapack_function
scipy.linalg._flapack:dgetrf
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dgetrf(a, overwrite_a = 0)Summary
Compute the LU factorization a = p @ l @ u with partial pivoting (LAPACK dgetrf).
Parameters
a: ndarrayMatrix of shape
(m, n).overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
lu: ndarrayCombined
LandUfactors; the unit diagonal ofLis not stored.piv: ndarrayPivot indices, 0-based: row
iwas interchanged with rowpiv[i].info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive,u[info-1, info-1]is exactly zero and the factor is singular.
Aliases
scipy.linalg._flapack.dgetrf