scipy.linalg.lapack.dgbtrs#
- scipy.linalg.lapack.dgbtrs(ab, kl, ku, b, ipiv, trans=0, n=shape(ab, 1), ldab=shape(ab, 0), ldb=shape(b, 0), overwrite_b=0) = <flapack function dgbtrs>#
Solve a banded system using the factorization from
gbtrf(LAPACKdgbtrs).- Parameters:
- abndarray
Band storage of shape
(2 * kl + ku + 1, n):a[i, j]is held atab[ku + i - j, j].- klint
Number of subdiagonals.
- kuint
Number of superdiagonals.
- bndarray
Right-hand side(s) of shape
(n, nrhs).- ipivndarray
Pivot indices from
gbtrf, 0-based.- transint, optional
System to solve: 0 for
a @ x = b, 1 fora.T @ x = b, 2 fora.conj().T @ x = b. Default is 0.- nint, optional
Order of the system; must equal
shape(ab, 1).- ldabint, optional
Leading dimension of ab; must equal
shape(ab, 0).- ldbint, optional
Leading dimension of b; must equal
shape(b, 0).- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.