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 / dsysv

lapack_function

scipy.linalg._flapack:dsysv

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 dsysv).

Parameters

a : ndarray

symmetric matrix of shape (n, n).

b : ndarray

Right-hand side(s) of shape (n, nrhs).

lwork : int, optional

Size of the workspace. Default is max(n, 1). Use dsysv_lwork for the optimal value.

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.

overwrite_b : int, optional

If nonzero, b may be overwritten in place. Default is 0.

Returns

udut : ndarray

The block diagonal D and the multipliers, packed into the triangle.

ipiv : ndarray

Pivot indices describing the interchanges and the 1x1 / 2x2 block structure, 1-based. Pass them on to sytrs/sytri/sycon unchanged.

x : ndarray

Solution of the system.

info : int

0 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.interpolate._rbfinterp_np.dsysv