This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / ctbtrs

lapack_function

scipy.linalg._flapack:ctbtrs

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

Signature

def ctbtrs(ab, b, uplo = U, trans = N, diag = N, overwrite_b = 0)

Summary

Solve a triangular band system (LAPACK ctbtrs).

Parameters

ab : ndarray

The band of the triangular matrix, shape (kd + 1, n): the order n and the bandwidth kd are both read off ab itself.

b : ndarray

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

uplo : str, optional

'U' if the matrix is upper triangular, 'L' if lower. Default is 'U'.

trans : str, optional

'N', 'T' or 'C' for the system, its transpose, or its conjugate transpose. Default is 'N'.

diag : str, optional

'U' if the matrix has a unit diagonal, 'N' otherwise. Default is 'N'.

overwrite_b : int, optional

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

Returns

x : ndarray

Solution of the system, overwriting b.

info : int

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

Aliases

  • scipy.linalg._flapack.ctbtrs