This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / chegst

lapack_function

scipy.linalg._flapack:chegst

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

Signature

def chegst(a, b, itype = 1, lower = 0, overwrite_a = 0)

Summary

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

Parameters

a : ndarray

Hermitian matrix of shape (n, n).

b : ndarray

The Cholesky factor of the positive definite b, as returned by potrf.

itype : int, 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.

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

c : ndarray

The reduced matrix, overwriting a.

info : int

0 on success; if negative, the -info-th argument had an illegal value.

Aliases

  • scipy.linalg._flapack.chegst