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 / zgttrs

lapack_function

scipy.linalg._flapack:zgttrs

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

Signature

def zgttrs(dl, d, du, du2, ipiv, b, trans = N, overwrite_b = 0)

Summary

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

Parameters

dl : ndarray

Multipliers defining L, as returned by gttrf.

d : ndarray

Diagonal of U, as returned by gttrf.

du : ndarray

First superdiagonal of U, as returned by gttrf.

du2 : ndarray

Second superdiagonal of U, as returned by gttrf.

ipiv : ndarray

Pivot indices from gttrf, 1-based.

b : ndarray

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

trans : str, optional

'N', 'T' or 'C' for the system, its transpose, or its conjugate transpose. 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.

info : int

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

Aliases

  • scipy.linalg._flapack.zgttrs