scipy.linalg.lapack.zhetrs#
- scipy.linalg.lapack.zhetrs(a, ipiv, b, lower=0, overwrite_b=0) = <flapack function zhetrs>#
Solve a Hermitian indefinite system using the factorization from
hetrf(LAPACKzhetrs).- Parameters:
- andarray
The factorization, of shape
(lda, n). A taller-than-wide buffer is accepted as long aslda >= n.- ipivndarray
Pivot indices from the Bunch-Kaufman factorization, 1-based exactly as
sytrf/hetrfreturned them – this group shifts at neither end.- bndarray
Right-hand side(s) of shape
(n, nrhs).- lowerint, optional
If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.
- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.