scipy.linalg.blas.ztbsv#

scipy.linalg.blas.ztbsv(k, a, x, incx=1, offx=0, lower=0, trans=0, diag=0, overwrite_x=0) = <fblas function ztbsv>#

Solve the triangular system op(a)@x = b in place for a banded triangular matrix (BLAS ztbsv).

Parameters:
kint

Number of super-diagonals (or sub-diagonals) of the band.

andarray

Banded storage of the triangular matrix, shape (k + 1, n).

xndarray

Input/output vector.

incxint, optional

Stride between successive elements of x. Default is 1.

offxint, optional

Index of the first element of x to use. Default is 0.

lowerint, optional

If 0, the upper triangle is used; if 1, the lower. Default is 0.

transint, optional

Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.

diagint, optional

If 0, the matrix has a non-unit diagonal; if 1, it is unit-triangular. Default is 0.

overwrite_xint, optional

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

Returns:
xndarray

The solution x.