This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / zhetri

lapack_function

scipy.linalg._flapack:zhetri

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

Signature

def zhetri(a, ipiv, lower = 0, overwrite_a = 0)

Summary

Invert a Hermitian indefinite matrix from the factorization computed by hetrf (LAPACK zhetri).

Parameters

a : ndarray

The factorization, as returned by the corresponding *trf.

ipiv : ndarray

Pivot indices from the Bunch-Kaufman factorization, 1-based exactly as sytrf/hetrf returned them -- this group shifts at neither end.

lower : int, optional

If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.

overwrite_a : int, optional

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

Returns

inv_a : ndarray

The inverse, stored in the selected triangle only; the opposite triangle is left as it was.

info : int

0 on success; if negative, the -info-th argument had an illegal value; if positive, d[info-1, info-1] is zero and the inverse does not exist.

Aliases

  • scipy.linalg._flapack.zhetri