bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / csysvx
lapack_function
scipy.linalg._flapack:csysvx
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Solve a symmetric indefinite system with condition estimation and error bounds (LAPACK csysvx).
Parameters
a: ndarraySymmetric matrix of shape
(n, n).b: ndarrayRight-hand side(s) of shape
(n, nrhs).af: ndarray, optionalFactorization to reuse when
factored=1; otherwise it is computed.ipiv: ndarray, optionalPivot indices to reuse when
factored=1, 1-based; otherwise computed.lwork: int, optionalSize of the workspace. Default is
max(3 * n, 1); the minimum is3 * nfor the real flavors and2 * nfor the complex ones. Usesysvx_lworkfor the optimal value.factored: int, optionalIf nonzero, af and ipiv already hold the factorization and are reused. An integer here rather than the
'F'/'N'lettergesvxtakes. Default is 0.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
a_s: ndarraya, unchanged; returned so the caller can chain calls.
udut: ndarrayThe block diagonal
Dand the multipliers.ipiv: ndarrayPivot indices describing the interchanges and the 1x1 / 2x2 block structure, 1-based. Pass them on to
sytrs/sytri/syconunchanged.b_s: ndarrayb, unchanged.
x: ndarraySolution of the system.
rcond: floatEstimate of the reciprocal condition number.
ferr: ndarrayEstimated forward error bound for each solution vector.
berr: ndarrayComponentwise relative backward error of each solution vector.
info: int0 on success; if negative, the
-info-th argument had an illegal value; if0 < info <= n,d[info-1, info-1]is exactly zero; ifinfo = n+1, the matrix is singular to working precision.
Aliases
scipy.linalg._flapack.csysvx