scipy.linalg.lapack.sgbsv#
- scipy.linalg.lapack.sgbsv(kl, ku, ab, b, overwrite_ab=0, overwrite_b=0) = <flapack function sgbsv>#
Solve
a @ x = bfor a bandedaby LU factorization with partial pivoting (LAPACKsgbsv).- Parameters:
- klint
Number of subdiagonals.
- kuint
Number of superdiagonals.
- abndarray
Band storage of shape
(2 * kl + ku + 1, n):a[i, j]is held atab[ku + i - j, j].- bndarray
Right-hand side(s) of shape
(n, nrhs).- overwrite_abint, optional
If nonzero, ab may be overwritten in place. Default is 0.
- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- lubndarray
Combined
LandUfactors in band storage.- pivndarray
Pivot indices, 0-based: row
iwas interchanged with rowpiv[i].- xndarray
Solution of the system.
- infoint
0 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.