scipy.linalg.lapack.zsytf2#

scipy.linalg.lapack.zsytf2(a, lower=0, overwrite_a=0) = <flapack function zsytf2>#

Compute the unblocked Bunch-Kaufman factorization of a symmetric matrix (LAPACK zsytf2).

Parameters:
andarray

symmetric matrix of shape (n, n).

lowerint, optional

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

overwrite_aint, optional

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

Returns:
ldundarray

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

ipivndarray

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

infoint

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.