bundles / scipy latest / scipy / linalg / _flapack / sgbtrf
lapack_function
scipy.linalg._flapack:sgbtrf
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Compute the LU factorization of a banded matrix with partial pivoting (LAPACK sgbtrf).
Parameters
ab: ndarrayBand storage of shape
(2 * kl + ku + 1, n):a[i, j]is held atab[ku + i - j, j].kl: intNumber of subdiagonals.
ku: intNumber of superdiagonals.
m: int, optionalNumber of rows to factor. Default is
shape(ab, 1), a square matrix; a smaller value factors the leading m rows.n: int, optionalNumber of columns; must equal
shape(ab, 1).ldab: int, optionalLeading dimension; must equal
shape(ab, 0).overwrite_ab: int, optionalIf nonzero,
abmay be overwritten in place. Default is 0.
Returns
lu: ndarrayCombined
LandUfactors in band storage.ipiv: ndarrayPivot indices, 0-based, length
min(m, n).info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive,u[info-1, info-1]is exactly zero and the factor is singular.
Aliases
scipy.linalg._flapack.sgbtrf