scipy.linalg.lapack.chegst#

scipy.linalg.lapack.chegst(a, b, itype=1, lower=0, overwrite_a=0) = <flapack function chegst>#

Reduce a generalized Hermitian-definite problem to standard form (LAPACK chegst).

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 for a @ b @ x = w * x, 3 for b @ 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.