bundles / scipy latest / scipy / linalg / _flapack / zgetri
lapack_function
scipy.linalg._flapack:zgetri
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Invert a matrix from its getrf factorization (LAPACK zgetri).
Parameters
lu: ndarrayCombined
LandUfactors, as returned bygetrf.piv: ndarrayPivot indices from
getrf, 0-based.lwork: int, optionalSize of the workspace; must be at least
n. Default is3 * n. Usegetri_lworkfor the optimal value.overwrite_lu: int, optionalIf nonzero, lu may be overwritten in place. Default is 0.
Returns
inv_a: ndarrayInverse of the matrix lu was factorized from.
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 matrix is singular.
Aliases
scipy.linalg._flapack.zgetri