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

lapack_function

scipy.linalg._flapack:dsytrf

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

Summary

Compute the blocked Bunch-Kaufman factorization of a symmetric matrix (LAPACK dsytrf).

Parameters

a : ndarray

symmetric matrix of shape (n, n).

lower : int, optional

If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.

lwork : int, optional

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

overwrite_a : int, optional

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

Returns

ldu : ndarray

The block diagonal D and the multipliers of U or L, packed into the selected triangle.

ipiv : ndarray

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

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 factor is singular.

Aliases

  • scipy.linalg._flapack.dsytrf