bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / zhetrs
lapack_function
scipy.linalg._flapack:zhetrs
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def zhetrs(a, ipiv, b, lower = 0, overwrite_b = 0)Summary
Solve a Hermitian indefinite system using the factorization from hetrf (LAPACK zhetrs).
Parameters
a: ndarrayThe factorization, of shape
(lda, n). A taller-than-wide buffer is accepted as long aslda >= n.ipiv: ndarrayPivot indices from the Bunch-Kaufman factorization, 1-based exactly as
sytrf/hetrfreturned them -- this group shifts at neither end.b: ndarrayRight-hand side(s) of shape
(n, nrhs).lower: int, optionalIf nonzero, the lower triangle of
ais referenced; otherwise the upper. Default is 0.overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
x: ndarraySolution of the system.
info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.zhetrs