scipy.linalg.lapack.zhegst#
- scipy.linalg.lapack.zhegst(a, b, itype=1, lower=0, overwrite_a=0) = <flapack function zhegst>#
Reduce a generalized Hermitian-definite problem to standard form (LAPACK
zhegst).- Parameters:
- andarray
Hermitian matrix of shape
(n, n).- bndarray
The Cholesky factor of the positive definite b, as returned by
potrf.- itypeint, optional
Which generalized problem to solve: 1 for
a @ x = w * b @ x, 2 fora @ b @ x = w * x, 3 forb @ a @ x = w * x. Default is 1.- lowerint, optional
If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.
- overwrite_aint, optional
If nonzero, a may be overwritten in place. Default is 0.
- Returns:
- cndarray
The reduced matrix, overwriting a.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.