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 / 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 : ndarray

Combined L and U factors, as returned by getrf.

piv : ndarray

Pivot indices from getrf, 0-based.

lwork : int, optional

Size of the workspace; must be at least n. Default is 3 * n. Use getri_lwork for the optimal value.

overwrite_lu : int, optional

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

Returns

inv_a : ndarray

Inverse of the matrix lu was factorized from.

info : int

0 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