bundles / scipy latest / scipy / linalg / _flapack / chetrf
lapack_function
scipy.linalg._flapack:chetrf
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 Hermitian matrix (LAPACK chetrf).
Parameters
a: ndarrayHermitian matrix of shape
(n, n).lower: int, optionalIf nonzero, the lower triangle of
ais referenced; otherwise the upper. Default is 0.lwork: int, optionalSize of the workspace. Default is
max(n, 1). Usechetrf_lworkfor the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
ldu: ndarrayThe block diagonal
Dand the multipliers ofUorL, packed into the selected triangle.ipiv: ndarrayPivot indices describing the interchanges and the 1x1 / 2x2 block structure, 1-based. Pass them on to
sytrs/sytri/syconunchanged.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 factor is singular.
Aliases
scipy.linalg._flapack.chetrf