This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / zgbtrs

lapack_function

scipy.linalg._flapack:zgbtrs

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Summary

Solve a banded system using the factorization from gbtrf (LAPACK zgbtrs).

Parameters

ab : ndarray

Band storage of shape (2 * kl + ku + 1, n): a[i, j] is held at ab[ku + i - j, j].

kl : int

Number of subdiagonals.

ku : int

Number of superdiagonals.

b : ndarray

Right-hand side(s) of shape (n, nrhs).

ipiv : ndarray

Pivot indices from gbtrf, 0-based.

trans : int, optional

System to solve: 0 for a @ x = b, 1 for a.T @ x = b, 2 for a.conj().T @ x = b. Default is 0.

n : int, optional

Order of the system; must equal shape(ab, 1).

ldab : int, optional

Leading dimension of ab; must equal shape(ab, 0).

ldb : int, optional

Leading dimension of b; must equal shape(b, 0).

overwrite_b : int, optional

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

Returns

x : ndarray

Solution of the system.

info : int

0 on success; if negative, the -info-th argument had an illegal value.

Aliases

  • scipy.linalg._flapack.zgbtrs