scipy.linalg.lapack.sgttrs#

scipy.linalg.lapack.sgttrs(dl, d, du, du2, ipiv, b, trans='N', overwrite_b=0) = <flapack function sgttrs>#

Solve a tridiagonal system using the factorization from gttrf (LAPACK sgttrs).

Parameters:
dlndarray

Multipliers defining L, as returned by gttrf.

dndarray

Diagonal of U, as returned by gttrf.

dundarray

First superdiagonal of U, as returned by gttrf.

du2ndarray

Second superdiagonal of U, as returned by gttrf.

ipivndarray

Pivot indices from gttrf, 1-based.

bndarray

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

transstr, optional

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

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.