bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / zsysv
lapack_function
scipy.linalg._flapack:zsysv
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Solve a @ x = b for a symmetric indefinite a by Bunch-Kaufman factorization (LAPACK zsysv).
Parameters
a: ndarraysymmetric matrix of shape
(n, n).b: ndarrayRight-hand side(s) of shape
(n, nrhs).lwork: int, optionalSize of the workspace. Default is
max(n, 1). Usezsysv_lworkfor the optimal value.lower: int, optionalIf nonzero, the lower triangle of
ais referenced; otherwise the upper. Default is 0.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
udut: ndarrayThe block diagonal
Dand the multipliers, packed into the triangle.ipiv: ndarrayPivot indices describing the interchanges and the 1x1 / 2x2 block structure, 1-based. Pass them on to
sytrs/sytri/syconunchanged.x: ndarraySolution of the system.
info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive,d[info-1, info-1]is exactly zero and the solve failed.
Aliases
scipy.linalg._flapack.zsysv